Switch.SwitchMinWidth 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 minimum width of the switch in pixels. -or- Set the minimum width of the switch in pixels.
public virtual int SwitchMinWidth { [Android.Runtime.Register("getSwitchMinWidth", "()I", "GetGetSwitchMinWidthHandler")] get; [Android.Runtime.Register("setSwitchMinWidth", "(I)V", "GetSetSwitchMinWidth_IHandler")] set; }
[<get: Android.Runtime.Register("getSwitchMinWidth", "()I", "GetGetSwitchMinWidthHandler")>]
[<set: Android.Runtime.Register("setSwitchMinWidth", "(I)V", "GetSetSwitchMinWidth_IHandler")>]
member this.SwitchMinWidth : int with get, set
Property Value
Minimum width of the switch in pixels
- Attributes
Remarks
Property getter documentation:
Get the minimum width of the switch in pixels. The switch's width will be the maximum of this value and its measured width as determined by the switch drawables and text used.
Java documentation for android.widget.Switch.getSwitchMinWidth()
.
Property setter documentation:
Set the minimum width of the switch in pixels. The switch's width will be the maximum of this value and its measured width as determined by the switch drawables and text used.
Java documentation for android.widget.Switch.setSwitchMinWidth(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.