DesignerAutoFormatCollection.PreviewSize Property
Definition
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
Property Value
A Size structure that contains the height and width of the control on the design surface.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om