A component palette that displays available Skia components in an organized list with drag and drop functionality for design-time component creation.

Members

MemberKindDescription
event EventHandler<ComponentItem> ComponentSelectedEventOccurs when a component is selected in the palette.
event EventHandler<ComponentDragEventArgs> ComponentDragStartedEventOccurs when a component starts being dragged from the palette.
event EventHandler<ComponentDragEventArgs> ComponentDraggingEventOccurs when a component is being dragged.
event EventHandler<ComponentDragEventArgs> ComponentDragEndedEventOccurs when a component drag operation ends.
ObservableCollection<ComponentCategory> CategoriesPropertyGets or sets the categories of components to display.
ComponentCategory SelectedCategoryPropertyGets or sets the currently selected category.
float ItemHeightPropertyGets or sets the height of each component item.
float CategoryHeaderHeightPropertyGets or sets the height of category headers.
ComponentItem DraggedComponentPropertyGets the currently dragged component.
bool IsDraggingPropertyGets whether a component is currently being dragged.
ComponentPalette()MethodInitializes a new instance of the ComponentPalette class.
void LoadComponentsFromRegistry()MethodLoads components from the SkiaComponentRegistry and organizes them into categories.

Related