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
ControlContentWidth | Gets or sets the width of the control's content. |
Image | Gets or sets the image. |
TitleText | Gets or sets the title text. |
OnApplyTemplate | Is called when a control template is applied. |
ControlContentWidthProperty | ControlContentWidthProperty property. |
ImageProperty | ImageProperty property. |
TitleTextProperty | TitleTextProperty 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.