Skip to main content

ColorSwatchSelectedEventArgs Class

Definition

Assembly:Avalonia.Controls.RichTextEditor
Package:Avalonia.Controls.RichTextEditor
public class ColorSwatchSelectedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> ColorSwatchSelectedEventArgs

Constructors

NameDescription
ColorSwatchSelectedEventArgsNo 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

NameDescription
ColorGets the selected color. Null indicates "No Fill" was chosen.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs.
RoutedEventGets or sets the routed event associated with these event args. Inherited from RoutedEventArgs.
SourceGets 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; }