In This Article

RadioChrome Class

Represents a chrome for use with radio buttons.

public sealed class RadioChrome : BulletChrome
Inheritance:
object Visual UIElement FrameworkElement Decorator ChromeBase BulletChrome object

Constructors

RadioChrome()

Initializes an instance of the class.

public RadioChrome()

Methods

MeasureOverride(Size)

Measures the child element of the RadioChrome to prepare for arranging it during the arrange 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 background.

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.

Inherited Members