Freigeben über


DomainUpDown.Width Property

Definition

Gets or sets the width of the DomainUpDown in points.

public:
 property float Width { float get(); void set(float value); };
public float Width { get; set; }
member this.Width : single with get, set
Public Property Width As Single

Property Value

The width of the DomainUpDown in points.

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Word.Controls.Button.Width. All controls in the Microsoft.Office.Tools.Word.Controls namespace have a functionally equivalent Width property.

Remarks

Changes made to the Width and left property values cause the Right property value of the DomainUpDown to change.

The Microsoft.Office.Tools.Word.Controls.DomainUpDown.Width property uses points, whereas System.Windows.Forms.Control.Width property uses pixels.

Applies to