Share via


ITCControl Interface

Definition

This interface represents the Objective-C protocol TCControl.

[Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="TCControl", WrapperType=typeof(TouchController.TCControlWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTouchBegan", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="handleTouchBeganAtPoint:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTouchMoved", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="handleTouchMovedAtPoint:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTouchEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="handleTouchEndedAtPoint:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(TouchController.TCControlLabel), Selector="label")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="colliderShape", IsProperty=true, IsRequired=true, IsStatic=false, Name="ColliderShape", PropertyType=typeof(TouchController.TCColliderShape), Selector="colliderShape")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isEnabled", IsProperty=true, IsRequired=true, IsStatic=false, Name="Enabled", PropertyType=typeof(System.Boolean), Selector="enabled", SetterSelector="setEnabled:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="highlightDuration", IsProperty=true, IsRequired=false, IsStatic=false, Name="HighlightDuration", PropertyType=typeof(System.Double), Selector="highlightDuration", SetterSelector="setHighlightDuration:")]
public interface ITCControl : IDisposable, TouchController.ITCControlLayout
[<Foundation.Protocol(BackwardsCompatibleCodeGeneration=false, Name="TCControl", WrapperType=typeof(TouchController.TCControlWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTouchBegan", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="handleTouchBeganAtPoint:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTouchMoved", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="handleTouchMovedAtPoint:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="HandleTouchEnded", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreGraphics.CGPoint) }, Selector="handleTouchEndedAtPoint:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="label", IsProperty=true, IsRequired=true, IsStatic=false, Name="Label", PropertyType=typeof(TouchController.TCControlLabel), Selector="label")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="colliderShape", IsProperty=true, IsRequired=true, IsStatic=false, Name="ColliderShape", PropertyType=typeof(TouchController.TCColliderShape), Selector="colliderShape")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isEnabled", IsProperty=true, IsRequired=true, IsStatic=false, Name="Enabled", PropertyType=typeof(System.Boolean), Selector="enabled", SetterSelector="setEnabled:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="highlightDuration", IsProperty=true, IsRequired=false, IsStatic=false, Name="HighlightDuration", PropertyType=typeof(System.Double), Selector="highlightDuration", SetterSelector="setHighlightDuration:")>]
type ITCControl = interface
    interface INativeObject
    interface IDisposable
    interface ITCControlLayout
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Anchor (Inherited from ITCControlLayout)
AnchorCoordinateSystem (Inherited from ITCControlLayout)
ColliderShape
Enabled
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
HighlightDuration
Label
Offset (Inherited from ITCControlLayout)
Position (Inherited from ITCControlLayout)
Pressed
Size (Inherited from ITCControlLayout)
ZIndex (Inherited from ITCControlLayout)

Methods

Name Description
HandleTouchBegan(CGPoint)
HandleTouchEnded(CGPoint)
HandleTouchMoved(CGPoint)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to