ColorSwatchSelectedEventArgs Class
Definition
Event arguments for Avalonia.Controls.Documents.Primitives.Toolbar.ColorSwatchPalette.ColorSelected.
public class ColorSwatchSelectedEventArgs
Constructors
| Name | Description |
|---|---|
| ColorSwatchSelectedEventArgs | No summary available. |
ColorSwatchSelectedEventArgs Constructor
public ColorSwatchSelectedEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent, Nullable<Avalonia.Media.Color> color)
Parameters
routedEvent Avalonia.Interactivity.RoutedEvent
color Nullable<Avalonia.Media.Color>
Properties
| Name | Description |
|---|---|
| Color | Gets the selected color. Null indicates "No Fill" was chosen. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets or sets the source object that raised the routed event. Inherited from RoutedEventArgs. |
Color Property
Gets the selected color. Null indicates "No Fill" was chosen.
public Nullable<Avalonia.Media.Color> Color { get; set; }