Switch
Switch(Context)
Switch(Context, IAttributeSet)
Switch(IntPtr, JniHandleOwnership)
Switch(Context, IAttributeSet, Int32)
Switch(Context, IAttributeSet, Int32, Int32)
JniPeerMembers
ShowText
SplitTrack
SwitchMinWidth
SwitchPadding
TextOff
TextOffFormatted
TextOn
TextOnFormatted
ThresholdClass
ThresholdType
ThumbDrawable
ThumbTextPadding
ThumbTintBlendMode
ThumbTintList
ThumbTintMode
TrackDrawable
TrackTintBlendMode
TrackTintList
TrackTintMode
OnMeasure(Int32, Int32)
SetSwitchTextAppearance(Context, Int32)
SetSwitchTypeface(Typeface)
SetSwitchTypeface(Typeface, TypefaceStyle)
SetThumbIcon(Icon)
SetThumbResource(Int32)
SetTrackIcon(Icon)
SetTrackResource(Int32)
net9.0-android34.0
namespace Android.Widget
{
[Register("android/widget/Switch", DoNotGenerateAcw = true)]
public class Switch : CompoundButton
{
[SupportedOSPlatform("android23.0")]
public virtual Mode? TrackTintMode
{
[Register("getTrackTintMode", "()Landroid/graphics/PorterDuff$Mode;", "GetGetTrackTintModeHandler", ApiSince = 23)]
get;
[Register("setTrackTintMode", "(Landroid/graphics/PorterDuff$Mode;)V", "GetSetTrackTintMode_Landroid_graphics_PorterDuff_Mode_Handler", ApiSince = 23)]
[SupportedOSPlatform("android23.0")]
set;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
The property setter is only supported on the following platforms:
|
- Built-in API
- Package-provided API