CheckChrome Class
Represents a chrome for use with check boxes.
public sealed class CheckChrome : BulletChrome
- Inheritance:
- object Visual UIElement FrameworkElement Decorator ChromeBase BulletChrome object
Constructors
CheckChrome()
Initializes an instance of the class.
public CheckChrome()
Properties
CornerRadius
The bullet corner radius.
Methods
MeasureOverride(Size)
Measures the child element of a Decorator to prepare for arranging it during the ArrangeOverride(Size) pass.
protected override Size MeasureOverride(Size constraint)
| Parameter | Type | Description |
|---|---|---|
| constraint | Size | An upper limit System.Windows.Size that should not be exceeded. |
Returns
- Size:
The target System.Windows.Size of the element.
RenderBackground(DrawingContext, Rect)
Draws the background of the chrome.
protected override void RenderBackground(DrawingContext drawingContext, Rect bounds)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
| bounds | Rect | The bounds to render the border. |
RenderBorder(DrawingContext, Rect)
Draws the border of the chrome.
protected override void RenderBorder(DrawingContext drawingContext, Rect bounds)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
| bounds | Rect | The bounds to render the border. |
RenderClassicSunkenBorder(DrawingContext, Rect)
Draws the border of the chrome.
protected override void RenderClassicSunkenBorder(DrawingContext drawingContext, Rect bounds)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
| bounds | Rect | The bounds to render the border. |
RenderGlyph(DrawingContext, Rect)
Draws the glyph of the chrome.
protected override void RenderGlyph(DrawingContext drawingContext, Rect bounds)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
| bounds | Rect | The bounds to render the glyph. |
RenderInnerBackground(DrawingContext, Rect)
Draws the inner background of the chrome.
protected override void RenderInnerBackground(DrawingContext drawingContext, Rect bounds)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
| bounds | Rect | The bounds to render the inner background. |
RenderInnerBorder(DrawingContext, Rect)
Draws the inner border of the chrome.
protected override void RenderInnerBorder(DrawingContext drawingContext, Rect bounds)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The drawing instructions for a specific element. This context is provided to the layout system. |
| bounds | Rect | The bounds to render the inner border. |
Fields
CornerRadiusProperty
Defines the CornerRadius property.
public static readonly DependencyProperty CornerRadiusProperty
Inherited Members
- BulletChrome.BackgroundProperty
- BulletChrome.BackgroundCheckedProperty
- BulletChrome.BackgroundCheckedHoverProperty
- BulletChrome.BackgroundCheckedPressedProperty
- BulletChrome.BackgroundDisabledProperty
- BulletChrome.BackgroundHoverProperty
- BulletChrome.BackgroundPressedProperty
- BulletChrome.BorderBrushProperty
- BulletChrome.BorderBrushCheckedProperty
- BulletChrome.BorderBrushCheckedHoverProperty
- BulletChrome.BorderBrushCheckedPressedProperty
- BulletChrome.BorderBrushDisabledProperty
- BulletChrome.BorderBrushHoverProperty
- BulletChrome.BorderBrushPressedProperty
- BulletChrome.BorderStyleProperty
- BulletChrome.BorderWidthProperty
- BulletChrome.GlyphBackgroundCheckedProperty
- BulletChrome.GlyphBackgroundCheckedDisabledProperty
- BulletChrome.GlyphBackgroundCheckedHoverProperty
- BulletChrome.GlyphBackgroundCheckedPressedProperty
- BulletChrome.GlyphBorderBrushCheckedProperty
- BulletChrome.GlyphBorderBrushCheckedDisabledProperty
- BulletChrome.GlyphBackgroundIndeterminateProperty
- BulletChrome.GlyphBackgroundIndeterminateDisabledProperty
- BulletChrome.GlyphBackgroundIndeterminateHoverProperty
- BulletChrome.GlyphBackgroundIndeterminatePressedProperty
- BulletChrome.GlyphBorderBrushIndeterminateProperty
- BulletChrome.GlyphBorderBrushIndeterminateDisabledProperty
- BulletChrome.GlyphBorderBrushIndeterminateHoverProperty
- BulletChrome.GlyphBorderBrushIndeterminatePressedProperty
- BulletChrome.InnerBackgroundProperty
- BulletChrome.InnerBackgroundDisabledProperty
- BulletChrome.InnerBackgroundHoverProperty
- BulletChrome.InnerBackgroundPressedProperty
- BulletChrome.InnerBorderBrushProperty
- BulletChrome.InnerBorderBrushDisabledProperty
- BulletChrome.InnerBorderBrushHoverProperty
- BulletChrome.InnerBorderBrushPressedProperty
- BulletChrome.IsCheckedProperty
- BulletChrome.LastStateProperty
- BulletChrome.RelativeSizeProperty
- BulletChrome.StateProperty
- BulletChrome.UseAlternateGeometryProperty
- BulletChrome.Background
- BulletChrome.BackgroundChecked
- BulletChrome.BackgroundCheckedHover
- BulletChrome.BackgroundCheckedPressed
- BulletChrome.BackgroundDisabled
- BulletChrome.BackgroundHover
- BulletChrome.BackgroundPressed
- BulletChrome.BorderBrush
- BulletChrome.BorderBrushChecked
- BulletChrome.BorderBrushCheckedHover
- BulletChrome.BorderBrushCheckedPressed
- BulletChrome.BorderBrushDisabled
- BulletChrome.BorderBrushHover
- BulletChrome.BorderBrushPressed
- BulletChrome.BorderStyle
- BulletChrome.BorderWidth
- BulletChrome.GlyphBackgroundChecked
- BulletChrome.GlyphBackgroundCheckedDisabled
- BulletChrome.GlyphBackgroundCheckedHover
- BulletChrome.GlyphBackgroundCheckedPressed
- BulletChrome.GlyphBorderBrushChecked
- BulletChrome.GlyphBorderBrushCheckedDisabled
- BulletChrome.GlyphBackgroundIndeterminate
- BulletChrome.GlyphBackgroundIndeterminateDisabled
- BulletChrome.GlyphBackgroundIndeterminateHover
- BulletChrome.GlyphBackgroundIndeterminatePressed
- BulletChrome.GlyphBorderBrushIndeterminate
- BulletChrome.GlyphBorderBrushIndeterminateDisabled
- BulletChrome.GlyphBorderBrushIndeterminateHover
- BulletChrome.GlyphBorderBrushIndeterminatePressed
- BulletChrome.InnerBackground
- BulletChrome.InnerBackgroundDisabled
- BulletChrome.InnerBackgroundHover
- BulletChrome.InnerBackgroundPressed
- BulletChrome.InnerBorderBrush
- BulletChrome.InnerBorderBrushDisabled
- BulletChrome.InnerBorderBrushHover
- BulletChrome.InnerBorderBrushPressed
- BulletChrome.IsChecked
- BulletChrome.LastState
- BulletChrome.RelativeSize
- BulletChrome.State
- BulletChrome.UseAlternateGeometry
- ChromeBase.IsAnimationEnabledProperty
- ChromeBase.IsAnimationEnabled