Share via


ShapeVisual.ViewBox Property

Definition

Gets or sets the CompositionViewBox that maps shape visual tree coordinates onto the visual.

public:
 property CompositionViewBox ^ ViewBox { CompositionViewBox ^ get(); void set(CompositionViewBox ^ value); };
CompositionViewBox ViewBox();

void ViewBox(CompositionViewBox value);
public CompositionViewBox ViewBox { get; set; }
var compositionViewBox = shapeVisual.viewBox;
shapeVisual.viewBox = compositionViewBox;
Public Property ViewBox As CompositionViewBox

Property Value

The CompositionViewBox that maps shape visual tree coordinates onto the visual.

Applies to