Table of Contents

Class SkiaCheckbox

Namespace
DrawnUi.Draw
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 SkiaCheckbox : 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, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ILayoutInsideViewport, IInsideViewport, IVisibilityAware, IDisposable
Inheritance
SkiaCheckbox
Implements
Inherited Members
Extension Methods

Fields

AnimationSpeed

public static uint AnimationSpeed

Field Value

uint

ColorCheckOnProperty

public static readonly BindableProperty ColorCheckOnProperty

Field Value

BindableProperty

FrameOff

public SkiaControl FrameOff

Field Value

SkiaControl

FrameOn

public SkiaControl FrameOn

Field Value

SkiaControl

SvgCupertinoCheck

protected static string SvgCupertinoCheck

Field Value

string

SvgMaterialCheck

protected static string SvgMaterialCheck

Field Value

string

SvgWindowsCheck

protected static string SvgWindowsCheck

Field Value

string

ViewCheckOn

protected SkiaControl ViewCheckOn

Field Value

SkiaControl

Properties

ColorCheckOn

public Color ColorCheckOn { get; set; }

Property Value

Color

Methods

ApplyOff()

public virtual void ApplyOff()

ApplyOn()

public virtual void ApplyOn()

ApplyProperties()

Base call Update()

public override void ApplyProperties()

CanAnimate()

protected virtual bool CanAnimate()

Returns

bool

CreateCupertinoStyleContent()

protected virtual void CreateCupertinoStyleContent()

CreateDefaultContent()

protected override void CreateDefaultContent()

CreateDefaultStyleContent()

protected virtual void CreateDefaultStyleContent()

CreateMaterialStyleContent()

protected virtual void CreateMaterialStyleContent()

CreateWindowsStyleContent()

protected virtual void CreateWindowsStyleContent()

FindViews()

protected virtual void FindViews()

OnChildrenChanged()

Happens when child was added or removed, will call Invalidate() in base

public override void OnChildrenChanged()

OnToggledChanged()

Base calls ApplyProperties()

protected override void OnToggledChanged()