Share:

ColorPicker API | WPF | C# | Saatody | Amit Padhiyar

This is color picker widget fully created in WPF C#. Here is the full API of ColorPicker widget.

ColorPicker Class API

Properties

Syntax

public Color SelectedColor

Constructors

This is one and default constructor.

Syntax

public ColorPicker()

Events

Syntax

public event EventHandler SelectedColorChanged;

ColorPickerTabItem Class API

Properties

Syntax

public Color SelectedColor

Constructors

This is one and default constructor.

Syntax

public ColorPickerTabItem()

Events

Syntax

public event EventHandler SelectedColorChanged;

StandardColorsTabItem Class API

Properties

Syntax

public Color SelectedColor

Constructors

This is one and default constructor.

Syntax

public StandardColorsTabItem()

Events

Syntax

public event EventHandler SelectedColorChanged;

Point7ColorPicker Class API

Properties

Syntax

public double SelectedOffset

Constructors

This is one and default constructor.

Syntax

public Point7ColorPicker()

Events

Syntax

public event EventHandler SelectedOffsetChanged;

Point4ColorPicker Class API

Properties

Syntax

public Point SelectedOffset
public Color SelectedColor

Constructors

This is one and default constructor.

Syntax

public Point4ColorPicker()

Events

Syntax

public event EventHandler SelectedOffsetChanged;

Point1ColorPicker Class API

Properties

Syntax

public Color SelectedColor

Constructors

This is one and default constructor.

Syntax

public Point1ColorPicker()

StandardColorsListBoxItem Class API

Properties

Syntax

public Color Color

Constructors

This is one and default constructor.

Syntax

public StandardColorsListBoxItem()

ColorPicker Example

XAML (.xaml)

<gui:ColorPicker x:Name="ColorPicker"/>

C# (.cs)

ColorPicker.SelectedColorChanged += (sender, e) =>
{
Color color = ColorPicker.SelectedColor;
};

Comments

Popular posts from this blog

Basic Audio Operations With MP3 And Wave Files Using NAudio C#

Get Color From Pixel C# WPF | Saatody | Amit Padhiyar

Create Drag And Drop Operation Between DevExpress GridControl And Custom WPF UI | Saatody | Amit Padhiyar