Visual.Clip Property

Definition

Specifies the clipping region for the visual. When a visual is rendered, only the portion of the visual that falls inside the clipping region is displayed, while any content that extends outside the clipping region is clipped (that is, not displayed).

public:
 property CompositionClip ^ Clip { CompositionClip ^ get(); void set(CompositionClip ^ value); };
CompositionClip Clip();

void Clip(CompositionClip value);
public CompositionClip Clip { get; set; }
var compositionClip = visual.clip;
visual.clip = compositionClip;
Public Property Clip As CompositionClip

Property Value

Specifies the clipping region for the visual.

Applies to