ButtonContentControl
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
public ButtonContentControl()
Fields
ButtonHeightProperty
DependencyProperty
Identifies the ButtonHeight dependency property.
public static readonly DependencyProperty ButtonHeightProperty
ButtonShouldBeVisibleProperty
DependencyProperty
Identifies the ButtonShouldBeVisible dependency property.
public static readonly DependencyProperty ButtonShouldBeVisibleProperty
ButtonWidthProperty
DependencyProperty
Identifies the ButtonWidth dependency property.
public static readonly DependencyProperty ButtonWidthProperty
Properties
Get or sets the value that indicates the height of the button.
public double ButtonHeight { get; set; }
Gets or sets the value that indicates whether the button should be visible or not.
public bool ButtonShouldBeVisible { get; set; }
Gets or sets the value that indicates the width of the button.
public double ButtonWidth { get; set; }
Methods
protected override Size ArrangeOverride(Size arrangeBounds)
Size
Overrides:
Initializes the button content control with provided state.
public override void Initialize(ContentControlState state)
The state with which the control should be initialized.
Overrides:
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.
public override void OnApplyTemplate()
Overrides: