sdk
latest
false
- Overview
- Custom activities
- Migrating Activities to .NET 6
- Release Notes
- Building Workflow Analyzer Rules
- Building Activities Project Settings
- Creating Custom Wizards
- Prioritize Activities by Scope
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
- Robot JavaScript SDK
- Triggers SDK

Developer Guide
Last updated Oct 25, 2024
Activity Creator
Generated Code
Icons are generated in the Themes/Icons.xaml file of the Design Project (i.e. MyCompany.MyProject.Activities.Design).
Icons consist of two parts:
- The
DrawingGrouppaints the image of the icon itself. Multiple activities can use this same icon by referring to its Key. -
The
DrawingBrushencapsulates the icon and links it to the correct activity designer via its Key.In this example, theDrawingBrushKey is "ExampleIcon", so this icon will automatically appear on the Example activity.<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <DrawingGroup x:Key="starStruck1234_0"> ... </DrawingGroup> <DrawingBrush x:Key="ExampleIcon" Drawing="{StaticResource starStruck1234_0}" /> </ResourceDictionary><ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <DrawingGroup x:Key="starStruck1234_0"> ... </DrawingGroup> <DrawingBrush x:Key="ExampleIcon" Drawing="{StaticResource starStruck1234_0}" /> </ResourceDictionary>
Effect in UiPath Studio
Icons are shown in the Activities pane and on the designer. If no icon is provided, a default is used.