.NET Framework Class Library
ButtonBase.AutoEllipsis Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value indicating whether the ellipsis character (...) appears at the right edge of the control, denoting that the control text extends beyond the specified length of the control.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

Syntax

Visual Basic (Declaration)
Public Property AutoEllipsis As Boolean
Visual Basic (Usage)
Dim instance As ButtonBase
Dim value As Boolean

value = instance.AutoEllipsis

instance.AutoEllipsis = value
C#
public bool AutoEllipsis { get; set; }
C++
public:
property bool AutoEllipsis {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_AutoEllipsis ()

/** @property */
public void set_AutoEllipsis (boolean value)
JScript
public function get AutoEllipsis () : boolean

public function set AutoEllipsis (value : boolean)

Property Value

true if the additional label text is to be indicated by an ellipsis; otherwise, false. The default is true.
Remarks

Set AutoEllipsis to true to display text that extends beyond the width of the control when the user passes over the control with the mouse. You must set the control's AutoSize property to false if you want AutoEllipsis to be true. If AutoSize is true, the control will grow to fit the text and an ellipsis will not appear.

Platforms

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Framework

Supported in: 2.0
See Also

Tags :


Page view tracker