Questa documentazione è stata archiviata e non viene gestita.

Proprietà ScrollBar.Track

Gets the Track for a ScrollBar control.

Spazio dei nomi: System.Windows.Controls.Primitives
Assembly: PresentationFramework (in presentationframework.dll)
Spazio dei nomi XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public Track Track { get; }
/** @property */
public Track get_Track ()

public function get Track () : Track

Non è possibile utilizzare questa proprietà in XAML.

Valore proprietà

The Track that is used with a ScrollBar control. There is no default value.

A typical style template for a ScrollBar control includes a Track control that is surrounded on either side by two Button controls.

The following example shows how to access the Track control that is used with a ScrollBar control.

Track myScrollBarTrack = new Track();
myScrollBarTrack = myScrollBar.Track;

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:
Mostra: