WindowsFormsHost.Padding Property

Definition

Specifies the size of the desired padding within the hosted Windows Forms control.

public:
 property System::Windows::Thickness Padding { System::Windows::Thickness get(); void set(System::Windows::Thickness value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Thickness Padding { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Padding : System.Windows.Thickness with get, set
Public Property Padding As Thickness

Property Value

A Thickness structure representing the padding pf the hosted Windows Forms control.

Attributes

Remarks

XAML Attribute Usage

<object Padding="Thickness"/>

XAML Values

Thickness See Thickness for XAML Attribute syntax.

Dependency Property Information

Identifier field PaddingProperty
Metadata properties set to true AffectsParentMeasure

Applies to

See also