ClassButtonContentControl
Represents a content control containing button.
Definition
Namespace:Telerik.Windows.Controls.RichTextBoxUI
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ButtonContentControl : ContentControlBase, IContentControl
Inheritance: objectContentControlBaseButtonContentControl
Derived Classes:
Implements:
Inherited Members
Constructors
ButtonContentControl()
Declaration
public ButtonContentControl()
Fields
ButtonHeightProperty
Identifies the ButtonHeight dependency property.
Declaration
public static readonly DependencyProperty ButtonHeightProperty
Field Value
DependencyProperty
ButtonShouldBeVisibleProperty
Identifies the ButtonShouldBeVisible dependency property.
Declaration
public static readonly DependencyProperty ButtonShouldBeVisibleProperty
Field Value
DependencyProperty
ButtonWidthProperty
Identifies the ButtonWidth dependency property.
Declaration
public static readonly DependencyProperty ButtonWidthProperty
Field Value
DependencyProperty
Properties
ButtonHeight
Get or sets the value that indicates the height of the button.
ButtonShouldBeVisible
Gets or sets the value that indicates whether the button should be visible or not.
ButtonWidth
Gets or sets the value that indicates the width of the button.
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
arrangeBounds
Size
Returns
Size
Overrides
Initialize(ContentControlState)
Initializes the button content control with provided state.
Declaration
public override void Initialize(ContentControlState state)
Parameters
state
The state with which the control should be initialized.
Overrides
OnApplyTemplate()
Called when the control's template is applied. This method allows for additional setup and initialization after the control's visual tree has been constructed.
Declaration
public override void OnApplyTemplate()
Overrides