Visual.Clip Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.