Switch.SplitTrack Property

Definition

Returns whether the track should be split by the thumb. -or- Specifies whether the track should be split by the thumb.

public virtual bool SplitTrack { [Android.Runtime.Register("getSplitTrack", "()Z", "GetGetSplitTrackHandler")] get; [Android.Runtime.Register("setSplitTrack", "(Z)V", "GetSetSplitTrack_ZHandler")] set; }
[<get: Android.Runtime.Register("getSplitTrack", "()Z", "GetGetSplitTrackHandler")>]
[<set: Android.Runtime.Register("setSplitTrack", "(Z)V", "GetSetSplitTrack_ZHandler")>]
member this.SplitTrack : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns whether the track should be split by the thumb.

Java documentation for android.widget.Switch.getSplitTrack().

Property setter documentation:

Specifies whether the track should be split by the thumb. When true, the thumb's optical bounds will be clipped out of the track drawable, then the thumb will be drawn into the resulting gap.

Java documentation for android.widget.Switch.setSplitTrack(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to