Class
ButtonChrome

Renders visual states of a button.

Definition

Namespace:Telerik.Windows.Controls.Chromes

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class ButtonChrome : Control

Inheritance: objectButtonChrome

Constructors

ButtonChrome()

Initializes a new instance of the ButtonChrome class.

Declaration

cs-api-definition
public ButtonChrome()

Fields

CornerRadiusProperty

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CornerRadiusProperty

Field Value

DependencyProperty

InnerCornerRadiusProperty

Identifies the InnerCornerRadius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty InnerCornerRadiusProperty

Field Value

DependencyProperty

OrientationProperty

Identifies the Orientation property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

RenderActiveProperty

Identifies the RenderActive property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderActiveProperty

Field Value

DependencyProperty

RenderCheckedProperty

Identifies the RenderChecked property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderCheckedProperty

Field Value

DependencyProperty

RenderEnabledProperty

Identifies the RenderEnabled property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderEnabledProperty

Field Value

DependencyProperty

RenderFocusedProperty

Identifies the RenderFocused property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderFocusedProperty

Field Value

DependencyProperty

RenderHighlightedProperty

Identifies the RenderHighlighted property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderHighlightedProperty

Field Value

DependencyProperty

RenderMouseOverProperty

Identifies the RenderMouseOver property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderMouseOverProperty

Field Value

DependencyProperty

RenderNormalProperty

Identifies the RenderNormal property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderNormalProperty

Field Value

DependencyProperty

RenderPressedProperty

Identifies the RenderPressed property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderPressedProperty

Field Value

DependencyProperty

RenderSelectedProperty

Identifies the RenderSelected property.

Declaration

cs-api-definition
public static readonly DependencyProperty RenderSelectedProperty

Field Value

DependencyProperty

Properties

CornerRadius

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

InnerCornerRadius

Identifies the CornerRadius dependency property.

Declaration

cs-api-definition
public CornerRadius InnerCornerRadius { get; }

Property Value

CornerRadius

Orientation

Sets the visual appearance of the chrome to render Horizontal or Vertical button.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

RenderActive

Sets the visual appearance of the chrome not to render in Active mode.

Declaration

cs-api-definition
public bool RenderActive { get; set; }

Property Value

bool

RenderChecked

Sets the visual appearance of the chrome to render in Selected mode.

Declaration

cs-api-definition
public bool RenderChecked { get; set; }

Property Value

bool

RenderEnabled

Sets the visual appearance of the chrome to render Enabled.

Declaration

cs-api-definition
public bool RenderEnabled { get; set; }

Property Value

bool

RenderFocused

Sets the visual appearance of the chrome to render Focused state.

Declaration

cs-api-definition
public bool RenderFocused { get; set; }

Property Value

bool

RenderHighlighted

Sets the visual appearance of the chrome to render in Highlighted mode.

Declaration

cs-api-definition
public bool RenderHighlighted { get; set; }

Property Value

bool

RenderMouseOver

Sets the visual appearance of the chrome to render MouseOver.

Declaration

cs-api-definition
public bool RenderMouseOver { get; set; }

Property Value

bool

RenderNormal

Sets the visual appearance of the chrome not to render in Normal mode.

Declaration

cs-api-definition
public bool RenderNormal { get; set; }

Property Value

bool

RenderPressed

Sets the visual appearance of the chrome to render Pressed state.

Declaration

cs-api-definition
public bool RenderPressed { get; set; }

Property Value

bool

RenderSelected

Sets the visual appearance of the chrome to render in Selected mode.

Declaration

cs-api-definition
public bool RenderSelected { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.