PrintPreviewDialog.Anchor PrintPreviewDialog.Anchor PrintPreviewDialog.Anchor PrintPreviewDialog.Anchor Property

定义

获取或设置控件的定位点样式。Gets or sets the anchor style for the control.

public:
 virtual property System::Windows::Forms::AnchorStyles Anchor { System::Windows::Forms::AnchorStyles get(); void set(System::Windows::Forms::AnchorStyles value); };
[System.ComponentModel.Browsable(false)]
public override System.Windows.Forms.AnchorStyles Anchor { get; set; }
member this.Anchor : System.Windows.Forms.AnchorStyles with get, set
Public Overrides Property Anchor As AnchorStyles

属性值

AnchorStyles 值的按位组合。A bitwise combination of the AnchorStyles values. 默认值是 TopLeftThe default is Top and Left.

注解

此属性与此类无关。This property is not relevant for this class.

适用于