HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonTextBoxControl

BinaryRibbonTextBoxControl

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office

A custom text box control that provides a composition of image (optional), a textblock (optional) and a textbox items as its display UI/UX.

public class BinaryRibbonTextBoxControl : TextBox, IBinaryRibbonTextBoxControl, IBinaryRibbonKeyTipControl

Inherits from / implements: TextBox, IBinaryRibbonTextBoxControl, IBinaryRibbonKeyTipControl

Members at a glance

ControlContentWidthGets or sets the width of the control's content.
ImageGets or sets the image.
TitleTextGets or sets the title text.
OnApplyTemplateIs called when a control template is applied.
ControlContentWidthPropertyControlContentWidthProperty property.
ImagePropertyImageProperty property.
TitleTextPropertyTitleTextProperty property.

Properties

ControlContentWidth

public double ControlContentWidth

Gets or sets the width of the control's content.

Image

public ImageSource Image

Gets or sets the image.

Value. The image.

TitleText

public string TitleText

Gets or sets the title text.

Value. The title text.

Methods

OnApplyTemplate

public override void OnApplyTemplate()

Is called when a control template is applied.

Fields

ControlContentWidthProperty

public static readonly DependencyProperty ControlContentWidthProperty

ControlContentWidthProperty property.

ImageProperty

public static readonly DependencyProperty ImageProperty

ImageProperty property.

TitleTextProperty

public static readonly DependencyProperty TitleTextProperty

TitleTextProperty property.