DesignerAutoFormatCollection.PreviewSize Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the maximum outer dimensions of the control as it will appear at run time.
public:
property System::Drawing::Size PreviewSize { System::Drawing::Size get(); };
public System.Drawing.Size PreviewSize { get; }
member this.PreviewSize : System.Drawing.Size
Public ReadOnly Property PreviewSize As Size
A Size structure that contains the height and width of the control on the design surface.
The PreviewSize property examines each format in the collection and returns the largest height and the largest width in a Size structure. A visual designer, such as Visual Studio 2005, uses the PreviewSize to determine the initial size of the AutoFormat dialog box. The minimum size is 200-by-200 pixels.
Продукт | Версії |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: