Class SwatchesBase
Represents a base class for defining the swatches properties.
Inheritance
System.Object
SwatchesBase
Namespace: Syncfusion.Windows.Controls.Media
Assembly: Syncfusion.SfColorPalette.Wpf.dll
Syntax
public class SwatchesBase : Control
Constructors
SwatchesBase()
Declaration
public SwatchesBase()
Fields
ColorItemMarginProperty
Using a DependencyProperty as the backing store for ColorItemMargin. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ColorItemMarginProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ColorItemWidthProperty
Using a DependencyProperty as the backing store for ColorItemWidth. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ColorItemWidthProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
ColorItemMargin
Gets or sets the ColorItemMargin
Declaration
public Thickness ColorItemMargin { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
ColorItemWidth
Gets or sets the ColorItemWidth
Declaration
public double ColorItemWidth { get; set; }
Property Value
Type |
---|
System.Double |
Methods
MeasureOverride(Size)
Measures the size for overriding
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize | available size |
Returns
Type | Description |
---|---|
System.Windows.Size | returns the size |