Class SkiaHotspot
public class SkiaHotspot : SkiaControl, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IVisualElementController, IElementController, IView, ITransform, IElement, IVisualTreeElement, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, IHasAfterEffects, ISkiaControl, IDrawnBase, ICanBeUpdatedWithContext, ICanBeUpdated, ISkiaDisposable, IDisposable, ISkiaGestureListener
- Inheritance
-
SkiaHotspot
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
SkiaHotspot()
public SkiaHotspot()
Fields
CommandLongPressingParameterProperty
public static readonly BindableProperty CommandLongPressingParameterProperty
Field Value
CommandLongPressingProperty
public static readonly BindableProperty CommandLongPressingProperty
Field Value
CommandTappedParameterProperty
public static readonly BindableProperty CommandTappedParameterProperty
Field Value
CommandTappedProperty
public static readonly BindableProperty CommandTappedProperty
Field Value
DelayCallbackMs
You might want to pause to show effect before executing command. Default is 0.
public static int DelayCallbackMs
Field Value
LockPanningProperty
public static readonly BindableProperty LockPanningProperty
Field Value
PanThreshold
public static float PanThreshold
Field Value
ShimmerEffectAngleProperty
public static readonly BindableProperty ShimmerEffectAngleProperty
Field Value
ShimmerEffectColorProperty
public static readonly BindableProperty ShimmerEffectColorProperty
Field Value
ShimmerEffectSpeedProperty
public static readonly BindableProperty ShimmerEffectSpeedProperty
Field Value
ShimmerEffectWidthProperty
public static readonly BindableProperty ShimmerEffectWidthProperty
Field Value
Properties
CommandLongPressing
public ICommand CommandLongPressing { get; set; }
Property Value
CommandLongPressingParameter
public object CommandLongPressingParameter { get; set; }
Property Value
CommandTapped
public ICommand CommandTapped { get; set; }
Property Value
CommandTappedParameter
public object CommandTappedParameter { get; set; }
Property Value
LockPanning
public bool LockPanning { get; set; }
Property Value
ShimmerEffectAngle
public float ShimmerEffectAngle { get; set; }
Property Value
ShimmerEffectColor
public Color ShimmerEffectColor { get; set; }
Property Value
ShimmerEffectSpeed
public int ShimmerEffectSpeed { get; set; }
Property Value
ShimmerEffectWidth
public float ShimmerEffectWidth { get; set; }
Property Value
TotalDown
public long TotalDown { get; set; }
Property Value
TotalTapped
public long TotalTapped { get; set; }
Property Value
TouchDown
public bool TouchDown { get; set; }
Property Value
Methods
Draw(DrawingContext)
protected override void Draw(DrawingContext context)
Parameters
contextDrawingContext
OnFocusChanged(bool)
This will be called only for views registered at Superview.FocusedChild. The view must return true of false to indicate if it accepts focus.
public virtual bool OnFocusChanged(bool focus)
Parameters
focusbool
Returns
OnWillDisposeWithChildren()
The OnDisposing might come with a delay to avoid disposing resources at use. This method will be called without delay when Dispose() is invoked. Disposed will set to True and for Views their OnWillDisposeWithChildren will be called.
public override void OnWillDisposeWithChildren()
ProcessGestures(SkiaGesturesParameters, GestureEventProcessingInfo)
public override ISkiaGestureListener ProcessGestures(SkiaGesturesParameters args, GestureEventProcessingInfo apply)
Parameters
argsSkiaGesturesParametersapplyGestureEventProcessingInfo
Returns
Events
Down
public event EventHandler<SkiaGesturesParameters> Down
Event Type
Up
public event EventHandler<SkiaGesturesParameters> Up