New to Telerik UI for WPFStart a free 30-day trial

Renders visual states of a button.

Definition

Namespace:Telerik.Windows.Controls.Chromes

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class ButtonChrome : Control

Inheritance: objectButtonChrome

Constructors

Initializes a new instance of the ButtonChrome class.

C#
public ButtonChrome()

Fields

CornerRadiusProperty

DependencyProperty

Identifies the CornerRadius dependency property.

C#
public static readonly DependencyProperty CornerRadiusProperty

InnerCornerRadiusProperty

DependencyProperty

Identifies the InnerCornerRadius dependency property.

C#
public static readonly DependencyProperty InnerCornerRadiusProperty

OrientationProperty

DependencyProperty

Identifies the Orientation property.

C#
public static readonly DependencyProperty OrientationProperty

RenderActiveProperty

DependencyProperty

Identifies the RenderActive property.

C#
public static readonly DependencyProperty RenderActiveProperty

RenderCheckedProperty

DependencyProperty

Identifies the RenderChecked property.

C#
public static readonly DependencyProperty RenderCheckedProperty

RenderEnabledProperty

DependencyProperty

Identifies the RenderEnabled property.

C#
public static readonly DependencyProperty RenderEnabledProperty

RenderFocusedProperty

DependencyProperty

Identifies the RenderFocused property.

C#
public static readonly DependencyProperty RenderFocusedProperty

RenderHighlightedProperty

DependencyProperty

Identifies the RenderHighlighted property.

C#
public static readonly DependencyProperty RenderHighlightedProperty

RenderMouseOverProperty

DependencyProperty

Identifies the RenderMouseOver property.

C#
public static readonly DependencyProperty RenderMouseOverProperty

RenderNormalProperty

DependencyProperty

Identifies the RenderNormal property.

C#
public static readonly DependencyProperty RenderNormalProperty

RenderPressedProperty

DependencyProperty

Identifies the RenderPressed property.

C#
public static readonly DependencyProperty RenderPressedProperty

RenderSelectedProperty

DependencyProperty

Identifies the RenderSelected property.

C#
public static readonly DependencyProperty RenderSelectedProperty

Properties

CornerRadius

CornerRadius

Identifies the CornerRadius dependency property.

C#
public CornerRadius CornerRadius { get; set; }

InnerCornerRadius

CornerRadius

Identifies the CornerRadius dependency property.

C#
public CornerRadius InnerCornerRadius { get; }

Orientation

Orientation

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

C#
public Orientation Orientation { get; set; }

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

C#
public bool RenderActive { get; set; }

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

C#
public bool RenderChecked { get; set; }

Sets the visual appearance of the chrome to render Enabled.

C#
public bool RenderEnabled { get; set; }

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

C#
public bool RenderFocused { get; set; }

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

C#
public bool RenderHighlighted { get; set; }

Sets the visual appearance of the chrome to render MouseOver.

C#
public bool RenderMouseOver { get; set; }

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

C#
public bool RenderNormal { get; set; }

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

C#
public bool RenderPressed { get; set; }

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

C#
public bool RenderSelected { get; set; }

Methods

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

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.