Share 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.

Applies to