Table of Contents

Class SkiaRadioButton

Namespace
DrawnUi.Controls
Assembly
DrawnUi.Maui.dll

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

text string

Fields

GroupNameProperty

public static readonly BindableProperty GroupNameProperty

Field Value

BindableProperty

TextProperty

public static readonly BindableProperty TextProperty

Field Value

BindableProperty

ViewOff

public SkiaControl ViewOff

Field Value

SkiaControl

ViewOn

public SkiaControl ViewOn

Field Value

SkiaControl

ViewText

public SkiaLabel ViewText

Field Value

SkiaLabel

Properties

GroupName

public string GroupName { get; set; }

Property Value

string

GroupParent

public SkiaControl GroupParent { get; }

Property Value

SkiaControl

Text

Bind to your own content!

public string Text { get; set; }

Property Value

string

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

bool

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

newvalue IDrawnBase
oldvalue IDrawnBase

ProcessGestures(SkiaGesturesParameters, GestureEventProcessingInfo)

public override ISkiaGestureListener ProcessGestures(SkiaGesturesParameters args, GestureEventProcessingInfo apply)

Parameters

args SkiaGesturesParameters
apply GestureEventProcessingInfo

Returns

ISkiaGestureListener

SetValueInternal(bool)

public void SetValueInternal(bool value)

Parameters

value bool

UpdateGroup()

public virtual void UpdateGroup()