یک Switch Button زیبا، کم حجم با قابلیت سفارشی سازی سازگار با اندروید>11
ویژگی ها
– بدون نیاز به کتابخانه های اضافی
– بدون نیاز به فایل های xml
– قابلیت درگ کردن برای switch
MdSwitchButton
Author: Milad Mohammadi
Version: 1.0
- MdSwitchButton
Fields:
- CheckedChange(Checked As Boolean)
Methods:
- BringToFront
- DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
- Initialize (EventName As String)
- Invalidate
- Invalidate2 (Rect As Rect)
- Invalidate3 (Left As Int, Top As Int, Right As Int, Bottom As Int)
- IsInitialized As Boolean
- RemoveView
- RequestFocus As Boolean
- SendToBack
- SetLayout (Left As Int, Top As Int, Right As Int, Bottom As Int)
- Toggle
Properties:
- Background As Int [write only]
- BorderWidth As Float [write only]
- ButtonColor As Int [write only]
- Check As Boolean
- CheckColor As Int [write only]
- CheckLineColor As Int [write only]
- CheckLineWidth As Int [write only]
- EffectDuration As Int [write only]
- EnableEffect As Boolean [write only]
- Height As Int
- Left As Int
- Parent As Int
- ShadowColor As Int [write only]
- ShadowEffect As Boolean [write only]
- ShadowOffset As Float [write only]
- ShadowRadius As Float [write only]
- ShowIndicator As Boolean [write only]
- Tag As Object
- Top As Int
- UnCheckCircleColor As Int [write only]
- UnCheckCircleRadius As Float [write only]
- UnCheckCircleWidth As Float [write only]
- UnCheckColor As Int [write only]
- Visible As Boolean
- Width As Int