Class
ButtonContentControl

Represents a content control containing button.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ButtonContentControl : ContentControlBase, IContentControl

Inheritance: objectContentControlBaseButtonContentControl

Derived Classes: ContentControlPickerRepeatingSectionItemControl

Implements: IContentControl

Inherited Members ContentControlBase.AliasPropertyContentControlBase.AliasFontSizePropertyContentControlBase.HoveredPropertyContentControlBase.FocusedPropertyContentControlBase.LineThicknessPropertyContentControlBase.OutlineColorPropertyContentControlBase.PolygonPointsPropertyContentControlBase.TextFlowDirectionPropertyContentControlBase.SelectedPropertyContentControlBase.ThumbShouldBeVisiblePropertyContentControlBase.TopThumbButtonShouldBeVisiblePropertyContentControlBase.SelectCommandPropertyContentControlBase.OnInitialized(EventArgs)ContentControlBase.UpdateState(ContentControlState)ContentControlBase.GetCurrentState()ContentControlBase.GetBodyElementName()ContentControlBase.AliasFontSizeContentControlBase.AliasContentControlBase.SelectedContentControlBase.HoveredContentControlBase.FocusedContentControlBase.LineThicknessContentControlBase.OutlineColorContentControlBase.PolygonPointsContentControlBase.TextFlowDirectionContentControlBase.ThumbShouldBeVisibleContentControlBase.TopThumbButtonShouldBeVisibleContentControlBase.SelectCommand

Constructors

ButtonContentControl()

Declaration

cs-api-definition
public ButtonContentControl()

Fields

ButtonHeightProperty

Identifies the ButtonHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ButtonHeightProperty

Field Value

DependencyProperty

ButtonShouldBeVisibleProperty

Identifies the ButtonShouldBeVisible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ButtonShouldBeVisibleProperty

Field Value

DependencyProperty

ButtonWidthProperty

Identifies the ButtonWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ButtonWidthProperty

Field Value

DependencyProperty

Properties

ButtonHeight

Get or sets the value that indicates the height of the button.

Declaration

cs-api-definition
public double ButtonHeight { get; set; }

Property Value

double

ButtonShouldBeVisible

Gets or sets the value that indicates whether the button should be visible or not.

Declaration

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

Property Value

bool

ButtonWidth

Gets or sets the value that indicates the width of the button.

Declaration

cs-api-definition
public double ButtonWidth { get; set; }

Property Value

double

Methods

ArrangeOverride(Size)

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size arrangeBounds)

Parameters

arrangeBounds

Size

Returns

Size

Overrides ContentControlBase.ArrangeOverride(Size)

Initialize(ContentControlState)

Initializes the button content control with provided state.

Declaration

cs-api-definition
public override void Initialize(ContentControlState state)

Parameters

state

ContentControlState

The state with which the control should be initialized.

Overrides ContentControlBase.Initialize(ContentControlState)

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

cs-api-definition
public override void OnApplyTemplate()

Overrides ContentControlBase.OnApplyTemplate()