Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Android.Widget
  3. Switch
  4. ThresholdClass
  • 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)
monoandroid
namespace Android.Widget
{
    [Register("android/widget/Switch", DoNotGenerateAcw = true)]
    public class Switch : CompoundButton
    {
        protected override IntPtr ThresholdClass { get; }
    }
}
.NET
6.07.08.09.0
Information specific to monoandroid
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙