Class SkiaRadioButton
Switch-like control, can include any content inside. It's aither you use default content (todo templates?..)
or can include any content inside, and properties will by applied by convention to a SkiaShape with Tag Frame, SkiaShape with Tag Thumb. At the same time you can override ApplyProperties() and apply them to your content yourself.
public class SkiaRadioButton : SkiaToggle, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISkiaGestureListener, IHasAfterEffects, ISkiaDisposable, ISkiaGridLayout, ISkiaLayout, ILayoutInsideViewport, IInsideViewport, IVisibilityAware, ISkiaRadioButton, ISkiaControl, IDrawnBase, IDisposable, ICanBeUpdatedWithContext, ICanBeUpdated
- Inheritance
-
SkiaRadioButton
- Implements
- Inherited Members
- Extension Methods
Constructors
SkiaRadioButton()
public SkiaRadioButton()
SkiaRadioButton(string)
public SkiaRadioButton(string text)
Parameters
textstring
Fields
GroupNameProperty
public static readonly BindableProperty GroupNameProperty
Field Value
TextProperty
public static readonly BindableProperty TextProperty
Field Value
ViewOff
public SkiaControl ViewOff
Field Value
ViewOn
public SkiaControl ViewOn
Field Value
ViewText
public SkiaLabel ViewText
Field Value
Properties
GroupName
public string GroupName { get; set; }
Property Value
GroupParent
public SkiaControl GroupParent { get; }
Property Value
Text
Bind to your own content!
public string Text { get; set; }
Property Value
Methods
ApplyOff()
public virtual void ApplyOff()
ApplyOn()
public virtual void ApplyOn()
ApplyProperties()
Base call Update()
public override void ApplyProperties()
CreateDefaultContent()
protected override void CreateDefaultContent()
CreateDefaultStyleContent()
protected virtual void CreateDefaultStyleContent()
FindViews()
protected virtual void FindViews()
GetValueInternal()
public bool GetValueInternal()
Returns
NotifyWasToggled()
protected override void NotifyWasToggled()
OnChildrenChanged()
Happens when child was added or removed, will call Invalidate() in base
public override void OnChildrenChanged()
OnGroupChanged()
protected virtual void OnGroupChanged()
OnLayoutChanged()
DrawingRect size changed
protected override void OnLayoutChanged()
OnParentChanged(IDrawnBase, IDrawnBase)
public override void OnParentChanged(IDrawnBase newvalue, IDrawnBase oldvalue)
Parameters
newvalueIDrawnBaseoldvalueIDrawnBase
ProcessGestures(SkiaGesturesParameters, GestureEventProcessingInfo)
public override ISkiaGestureListener ProcessGestures(SkiaGesturesParameters args, GestureEventProcessingInfo apply)
Parameters
argsSkiaGesturesParametersapplyGestureEventProcessingInfo
Returns
SetValueInternal(bool)
public void SetValueInternal(bool value)
Parameters
valuebool
UpdateGroup()
public virtual void UpdateGroup()