Switch.ThumbTextPadding Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the horizontal padding around the text drawn on the switch itself. -or- Set the horizontal padding around the text drawn on the switch itself.
public virtual int ThumbTextPadding { [Android.Runtime.Register("getThumbTextPadding", "()I", "GetGetThumbTextPaddingHandler")] get; [Android.Runtime.Register("setThumbTextPadding", "(I)V", "GetSetThumbTextPadding_IHandler")] set; }
[<get: Android.Runtime.Register("getThumbTextPadding", "()I", "GetGetThumbTextPaddingHandler")>]
[<set: Android.Runtime.Register("setThumbTextPadding", "(I)V", "GetSetThumbTextPadding_IHandler")>]
member this.ThumbTextPadding : int with get, set
Property Value
Horizontal padding for switch thumb text in pixels
- Attributes
Remarks
Property getter documentation:
Get the horizontal padding around the text drawn on the switch itself.
Java documentation for android.widget.Switch.getThumbTextPadding()
.
Property setter documentation:
Set the horizontal padding around the text drawn on the switch itself.
Java documentation for android.widget.Switch.setThumbTextPadding(int)
.
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.