Bewerken

Delen via


StackPanel.ScrollOwner Property

Definition

Gets or sets a value that identifies the container that controls scrolling behavior in this StackPanel.

public:
 property System::Windows::Controls::ScrollViewer ^ ScrollOwner { System::Windows::Controls::ScrollViewer ^ get(); void set(System::Windows::Controls::ScrollViewer ^ value); };
public System.Windows.Controls.ScrollViewer ScrollOwner { get; set; }
member this.ScrollOwner : System.Windows.Controls.ScrollViewer with get, set
Public Property ScrollOwner As ScrollViewer

Property Value

The ScrollViewer that owns scrolling for this StackPanel. This property has no default value.

Implements

Remarks

If a ScrollViewer control is the ScrollOwner, physical scrolling is enabled. If a StackPanel is the ScrollOwner, scrolling is logical by child element.

Applies to