Dela via


Visual.BorderMode Property

Definition

Specifies how to compose the edges of bitmaps and clips associated with a visual, or with all visuals in the subtree rooted at this visual. Setting BorderMode at a parent Visual will affect all children visuals in the subtree and can be selectively turned off at each child visual.

public:
 property CompositionBorderMode BorderMode { CompositionBorderMode get(); void set(CompositionBorderMode value); };
CompositionBorderMode BorderMode();

void BorderMode(CompositionBorderMode value);
public CompositionBorderMode BorderMode { get; set; }
var compositionBorderMode = visual.borderMode;
visual.borderMode = compositionBorderMode;
Public Property BorderMode As CompositionBorderMode

Property Value

How to compose the edges of bitmaps and clips associated with a visual, or with all visuals in the subtree rooted at this visual.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to