C# Class Petzold.SelectColor.ColorCell

Inheritance: System.Windows.FrameworkElement
Datei anzeigen Open project: kasicass/kasicass Class Usage Examples

Public Properties

Property Type Description
IsHighlightedProperty System.Windows.DependencyProperty
IsSelectedProperty System.Windows.DependencyProperty

Public Methods

Method Description
ColorCell ( Color clr ) : System

Protected Methods

Method Description
GetVisualChild ( int index ) : Visual
MeasureOverride ( Size sizeAvailable ) : Size
OnRender ( System.Windows.Media.DrawingContext dc ) : void

Private Methods

Method Description
ColorCell ( ) : System

Method Details

ColorCell() public method

public ColorCell ( Color clr ) : System
clr Color
return System

GetVisualChild() protected method

protected GetVisualChild ( int index ) : Visual
index int
return Visual

MeasureOverride() protected method

protected MeasureOverride ( Size sizeAvailable ) : Size
sizeAvailable System.Windows.Size
return System.Windows.Size

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext dc ) : void
dc System.Windows.Media.DrawingContext
return void

Property Details

IsHighlightedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsHighlightedProperty
return System.Windows.DependencyProperty

IsSelectedProperty public_oe static_oe property

public static DependencyProperty,System.Windows IsSelectedProperty
return System.Windows.DependencyProperty