Dela via


RibbonTextBox.TextBoxWidth Property

Gets or sets the width of the control.

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Property TextBoxWidth As Double
public double TextBoxWidth { get; set; }
public:
property double TextBoxWidth {
    double get ();
    void set (double value);
}
member TextBoxWidth : float with get, set
function get TextBoxWidth () : double
function set TextBoxWidth (value : double)

Property Value

Type: System.Double
The width of the RibbonTextBox in pixels. The registered default is 0. For more information about what can influence the value, see Dependency Property Value Precedence.

.NET Framework Security

See Also

Reference

RibbonTextBox Class

Microsoft.Windows.Controls.Ribbon Namespace