Class ColorPalette
Represents a control that lets user to select a color from a list of available colors.
Inheritance
System.Object
ColorPalette
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class ColorPalette : Control, IDisposable
Constructors
ColorPalette()
Initializes a new instance of the ColorPalette class.
Declaration
public ColorPalette()
Fields
ModelProperty
Identifies Model dependency property.
Declaration
public static readonly DependencyProperty ModelProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
Model
Gets or sets the model to render the palette.
Declaration
public ColorPaletteModel Model { get; set; }
Property Value
Type |
---|
ColorPaletteModel |
Methods
Dispose()
Release the unmanaged resources of ColorPalette.
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of ColorPalette.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Used to indicate perform dispose or not. |
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnKeyDown(KeyRoutedEventArgs)
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs | e |
Implements
System.IDisposable