Dela via


CompositionNineGridBrush.SetInsets Method

Definition

Overloads

SetInsets(Single)

Sets the insets of a CompositionNineGridBrush using the same value for the top, bottom, left, and right. Defaults to 0.0f.

SetInsets(Single, Single, Single, Single)

Sets the insets of a CompositionNineGridBrush using the specified values for the top, bottom, left, and right. Defaults to 0.0f.

SetInsets(Single)

Sets the insets of a CompositionNineGridBrush using the same value for the top, bottom, left, and right. Defaults to 0.0f.

public:
 virtual void SetInsets(float inset) = SetInsets;
/// [Windows.Foundation.Metadata.Overload("SetInsets")]
void SetInsets(float const& inset);
[Windows.Foundation.Metadata.Overload("SetInsets")]
public void SetInsets(float inset);
function setInsets(inset)
Public Sub SetInsets (inset As Single)

Parameters

inset
Single

float

The inset value to use for the top, bottom, left, and right.

Attributes

See also

Applies to

SetInsets(Single, Single, Single, Single)

Sets the insets of a CompositionNineGridBrush using the specified values for the top, bottom, left, and right. Defaults to 0.0f.

public:
 virtual void SetInsets(float left, float top, float right, float bottom) = SetInsets;
/// [Windows.Foundation.Metadata.Overload("SetInsetsWithValues")]
void SetInsets(float const& left, float const& top, float const& right, float const& bottom);
[Windows.Foundation.Metadata.Overload("SetInsetsWithValues")]
public void SetInsets(float left, float top, float right, float bottom);
function setInsets(left, top, right, bottom)
Public Sub SetInsets (left As Single, top As Single, right As Single, bottom As Single)

Parameters

left
Single

float

The inset from the left of the image.

top
Single

float

The inset from the top of the image.

right
Single

float

The inset from the right of the image.

bottom
Single

float

The inset from the bottom of the image.

Attributes

See also

Applies to