CarouselPanel.ViewportWidth Property

Definition

Gets the horizontal size of the viewport/content area.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Primitives.CarouselPanel.ViewportWidth.

public:
 property double ViewportWidth { double get(); };
double ViewportWidth();
public double ViewportWidth { get; }
var double = carouselPanel.viewportWidth;
Public ReadOnly Property ViewportWidth As Double

Property Value

Double

double

A value in pixels.

Applies to