Class BaseHandle

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

BaseHandle is a handle to an internal Dali resource.

C#
Copy
public class BaseHandle : Element, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
BaseHandle
Derived
Tizen.NUI.Accessibility.AccessibilityManager
Tizen.NUI.AutofillContainer
Tizen.NUI.BaseComponents.VectorGraphics.Drawable
Tizen.NUI.BaseComponents.VectorGraphics.Drawable
Tizen.NUI.BaseComponents.VectorGraphics.Drawable
Tizen.NUI.BaseComponents.VectorGraphics.Gradient
Tizen.NUI.BaseComponents.VectorGraphics.Gradient
Tizen.NUI.BaseComponents.VectorGraphics.Gradient
Tizen.NUI.Capture
Tizen.NUI.Clipboard
Tizen.NUI.DragAndDrop
Tizen.NUI.DragAndDrop
Tizen.NUI.EncodedImageBuffer
Tizen.NUI.FrameBuffer
Tizen.NUI.GestureDetector
Tizen.NUI.GLWindow
Tizen.NUI.ImageUrl
Tizen.NUI.ParticleSystem.ParticleEmitter
Tizen.NUI.ParticleSystem.ParticleModifier`1
Tizen.NUI.ParticleSystem.ParticleSource`1
Tizen.NUI.Physics2D.PhysicsActor
Tizen.NUI.Physics2D.PhysicsAdaptor
Tizen.NUI.PixelBuffer
Tizen.NUI.PixelData
Tizen.NUI.RenderTaskList
Tizen.NUI.Scene3D.Material
Tizen.NUI.Scene3D.ModelPrimitive
Tizen.NUI.Scene3D.MotionData
Tizen.NUI.Scene3D.MotionIndex
Tizen.NUI.Scene3D.MotionValue
Tizen.NUI.TypeRegistry
Tizen.NUI.VertexBuffer
Tizen.NUI.VertexBuffer
Tizen.NUI.VertexBuffer
Tizen.NUI.VertexBuffer
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

BaseHandle()

Create an instance of BaseHandle.

Declaration
C#
Copy
public BaseHandle()
API Level: 3
View Source

BaseHandle(BaseHandle)

Create an instance of BaseHandle.

Declaration
C#
Copy
public BaseHandle(BaseHandle handle)
Parameters
Type Name Description
BaseHandle handle

The BaseHandle instance.

API Level: 3

Fields

View Source

disposed

A flag to check if it is already disposed.

Declaration
C#
Copy
protected bool disposed
Field Value
Type Description
System.Boolean
API Level: 3
View Source

swigCMemOwn

swigCMemOwn

Declaration
C#
Copy
protected bool swigCMemOwn
Field Value
Type Description
System.Boolean
API Level: 3

Methods

View Source

Dispose()

Dispose.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(DisposeTypes)

Dispose.

Declaration
C#
Copy
protected virtual void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
API Level: 3
View Source

DoAction(String, PropertyMap)

Performs an action on this object with the given action name and attributes.

Declaration
C#
Copy
public bool DoAction(string actionName, PropertyMap attributes)
Parameters
Type Name Description
System.String actionName

The command for the action.

PropertyMap attributes

The list of attributes for the action.

Returns
Type Description
System.Boolean

The action is performed by the object or not.

API Level: 3
View Source

Equals(Object)

Equals

Declaration
C#
Copy
public override bool Equals(object o)
Parameters
Type Name Description
Object o

The object should be compared.

Returns
Type Description
System.Boolean

True if equal.

Overrides
System.Object.Equals(System.Object)
API Level: 5
View Source

EqualTo(BaseHandle)

To check the BaseHandle instance is equal or not.

Declaration
C#
Copy
public bool EqualTo(BaseHandle rhs)
Parameters
Type Name Description
BaseHandle rhs

The baseHandle instance.

Returns
Type Description
System.Boolean

True If equal.

API Level: 3
View Source

Finalize()

Dispose.

Declaration
C#
Copy
protected void Finalize()
API Level: 3
View Source

GetHashCode()

Gets the the hash code of this baseHandle.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code.

Overrides
System.Object.GetHashCode()
API Level: 5
View Source

GetTypeInfo(TypeInfo)

Returns the type info for the Handle.

Declaration
C#
Copy
public bool GetTypeInfo(TypeInfo info)
Parameters
Type Name Description
TypeInfo info

The type information.

Returns
Type Description
System.Boolean

True If get the type info.

API Level: 3
View Source

GetTypeName()

Returns the type name for the Handle.
Will return an empty string if the typename does not exist. This will happen for types that have not registered with type-registry.

Declaration
C#
Copy
public string GetTypeName()
Returns
Type Description
System.String

The type name. Empty string if the typename does not exist.

API Level: 3
View Source

HasBody()

To check the BaseHandle instance has body or not.

Declaration
C#
Copy
public bool HasBody()
Returns
Type Description
System.Boolean

True If the baseHandle instance has body.

API Level: 3
View Source

IsEqual(BaseHandle)

To check the BaseHandle instance is equal or not.

Declaration
C#
Copy
public bool IsEqual(BaseHandle rhs)
Parameters
Type Name Description
BaseHandle rhs

The baseHandle instance.

Returns
Type Description
System.Boolean

True If equal.

API Level: 3
View Source

NotEqualTo(BaseHandle)

To check the BaseHandle instance is equal or not.

Declaration
C#
Copy
public bool NotEqualTo(BaseHandle rhs)
Parameters
Type Name Description
BaseHandle rhs

The baseHandle instance.

Returns
Type Description
System.Boolean

True If not equal.

API Level: 3
View Source

Reset()

Resets the handle.

Declaration
C#
Copy
public void Reset()
API Level: 3

Events

View Source

PropertySet

Event when a property is set.

Declaration
C#
Copy
public event PropertyChangedEventHandler PropertySet
Event Type
Type Description
PropertyChangedEventHandler
API Level: 5

Operators

View Source

BitwiseAnd(BaseHandle, BaseHandle)

Logical AND operator.
It's possible when doing a operator this function (opBitwiseAnd) is never called due to short circuiting.

Declaration
C#
Copy
public static BaseHandle operator &(BaseHandle x, BaseHandle y)
Parameters
Type Name Description
BaseHandle x
BaseHandle y
Returns
Type Description
BaseHandle
API Level: 3
View Source

BitwiseOr(BaseHandle, BaseHandle)

Logical OR operator for ||.
It's possible when doing a || this function (opBitwiseOr) is never called due to short circuiting.

Declaration
C#
Copy
public static BaseHandle operator |(BaseHandle x, BaseHandle y)
Parameters
Type Name Description
BaseHandle x
BaseHandle y
Returns
Type Description
BaseHandle
API Level: 3
View Source

Equality(BaseHandle, BaseHandle)

Equality operator

Declaration
C#
Copy
public static bool operator ==(BaseHandle x, BaseHandle y)
Parameters
Type Name Description
BaseHandle x
BaseHandle y
Returns
Type Description
System.Boolean
API Level: 3
View Source

Explicit(BaseHandle to Boolean)

Explicit conversion from Handle to bool.

Declaration
C#
Copy
public static explicit operator bool (BaseHandle handle)
Parameters
Type Name Description
BaseHandle handle
Returns
Type Description
System.Boolean
API Level: 3
View Source

False(BaseHandle)

Returns the bool false to indicate that an operand is false and returns true otherwise.

Declaration
C#
Copy
public static bool operator false (BaseHandle handle)
Parameters
Type Name Description
BaseHandle handle
Returns
Type Description
System.Boolean
API Level: 3
View Source

Inequality(BaseHandle, BaseHandle)

Inequality operator. Returns Null if either operand is Null

Declaration
C#
Copy
public static bool operator !=(BaseHandle x, BaseHandle y)
Parameters
Type Name Description
BaseHandle x
BaseHandle y
Returns
Type Description
System.Boolean
API Level: 3
View Source

LogicalNot(BaseHandle)

Logical ! operator

Declaration
C#
Copy
public static bool operator !(BaseHandle x)
Parameters
Type Name Description
BaseHandle x
Returns
Type Description
System.Boolean
API Level: 3
View Source

True(BaseHandle)

Returns the bool value true to indicate that an operand is true and returns false otherwise.

Declaration
C#
Copy
public static bool operator true (BaseHandle handle)
Parameters
Type Name Description
BaseHandle handle
Returns
Type Description
System.Boolean
API Level: 3

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable