Skip to main content

AvaloniaView Class

Definition

Namespace:Avalonia.iOS
Assembly:Avalonia.iOS
Package:Avalonia.iOS

Root view container for Avalonia content, that can be embedded into iOS visual tree.

public class AvaloniaView

Inheritance: UIView -> AvaloniaView

Constructors

NameDescription
AvaloniaViewNo summary available.

AvaloniaView Constructor

public AvaloniaView()

Methods

NameDescription
BecomeFirstResponderNo summary available.
InitWithControllerNo summary available.
LayerClassNo summary available.
LayoutSubviewsNo summary available.
PressesBeganNo summary available.
PressesCancelledNo summary available.
PressesChangedNo summary available.
PressesEndedNo summary available.
ResignFirstResponderNo summary available.
TintColorDidChangeNo summary available.
TouchesBeganNo summary available.
TouchesCancelledNo summary available.
TouchesEndedNo summary available.
TouchesMovedNo summary available.
TraitCollectionDidChangeNo summary available.

BecomeFirstResponder Method

public bool BecomeFirstResponder()

Returns

bool

InitWithController Method

public void InitWithController<TController>(TController controller)

Parameters

controller TController

Type Parameters

TController

LayerClass Method

public ObjCRuntime.Class LayerClass()

Returns

ObjCRuntime.Class

LayoutSubviews Method

public void LayoutSubviews()

PressesBegan Method

public void PressesBegan(Foundation.NSSet<UIKit.UIPress> presses, UIKit.UIPressesEvent evt)

Parameters

presses Foundation.NSSet<UIKit.UIPress>

evt UIKit.UIPressesEvent

PressesCancelled Method

public void PressesCancelled(Foundation.NSSet<UIKit.UIPress> presses, UIKit.UIPressesEvent evt)

Parameters

presses Foundation.NSSet<UIKit.UIPress>

evt UIKit.UIPressesEvent

PressesChanged Method

public void PressesChanged(Foundation.NSSet<UIKit.UIPress> presses, UIKit.UIPressesEvent evt)

Parameters

presses Foundation.NSSet<UIKit.UIPress>

evt UIKit.UIPressesEvent

PressesEnded Method

public void PressesEnded(Foundation.NSSet<UIKit.UIPress> presses, UIKit.UIPressesEvent evt)

Parameters

presses Foundation.NSSet<UIKit.UIPress>

evt UIKit.UIPressesEvent

ResignFirstResponder Method

public bool ResignFirstResponder()

Returns

bool

TintColorDidChange Method

public void TintColorDidChange()

TouchesBegan Method

public void TouchesBegan(Foundation.NSSet touches, UIKit.UIEvent evt)

Parameters

touches Foundation.NSSet

evt UIKit.UIEvent

TouchesCancelled Method

public void TouchesCancelled(Foundation.NSSet touches, UIKit.UIEvent evt)

Parameters

touches Foundation.NSSet

evt UIKit.UIEvent

TouchesEnded Method

public void TouchesEnded(Foundation.NSSet touches, UIKit.UIEvent evt)

Parameters

touches Foundation.NSSet

evt UIKit.UIEvent

TouchesMoved Method

public void TouchesMoved(Foundation.NSSet touches, UIKit.UIEvent evt)

Parameters

touches Foundation.NSSet

evt UIKit.UIEvent

TraitCollectionDidChange Method

public void TraitCollectionDidChange(UIKit.UITraitCollection previousTraitCollection)

Parameters

previousTraitCollection UIKit.UITraitCollection

Properties

NameDescription
CanBecomeFirstResponderNo summary available.
CanResignFirstResponderNo summary available.
ContentNo summary available.

CanBecomeFirstResponder Property

public bool CanBecomeFirstResponder { get; set; }

CanResignFirstResponder Property

public bool CanResignFirstResponder { get; set; }

Content Property

public Avalonia.Controls.Control Content { get; set; }