Class BaseHandle
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
BaseHandle is a handle to an internal Dali resource.
public class BaseHandle : Element, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Derived
- Implements
Constructors
View SourceBaseHandle()
Create an instance of BaseHandle.
Declaration
public BaseHandle()
API Level: 3
View SourceBaseHandle(BaseHandle)
Create an instance of BaseHandle.
Declaration
public BaseHandle(BaseHandle handle)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | handle | The BaseHandle instance. |
API Level: 3
Fields
View Sourcedisposed
A flag to check if it is already disposed.
Declaration
protected bool disposed
Field Value
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceswigCMemOwn
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Type | Description |
---|---|
Boolean |
API Level: 3
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
API Level: 3
View SourceDispose(DisposeTypes)
Dispose.
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
API Level: 3
View SourceDoAction(String, PropertyMap)
Performs an action on this object with the given action name and attributes.
Declaration
public bool DoAction(string actionName, PropertyMap attributes)
Parameters
Type | Name | Description |
---|---|---|
String | actionName | The command for the action. |
PropertyMap | attributes | The list of attributes for the action. |
Returns
Type | Description |
---|---|
Boolean | The action is performed by the object or not. |
API Level: 3
View SourceEquals(Object)
Equals
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
Object | o | The object should be compared. |
Returns
Type | Description |
---|---|
Boolean | True if equal. |
Overrides
API Level: 5
View SourceEqualTo(BaseHandle)
To check the BaseHandle instance is equal or not.
Declaration
public bool EqualTo(BaseHandle rhs)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | rhs | The baseHandle instance. |
Returns
Type | Description |
---|---|
Boolean | True If equal. |
API Level: 3
View SourceFinalize()
Dispose.
Declaration
protected void Finalize()
API Level: 3
View SourceGetHashCode()
Gets the the hash code of this baseHandle.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Overrides
API Level: 5
View SourceGetTypeInfo(TypeInfo)
Returns the type info for the Handle.
Declaration
public bool GetTypeInfo(TypeInfo info)
Parameters
Type | Name | Description |
---|---|---|
TypeInfo | info | The type information. |
Returns
Type | Description |
---|---|
Boolean | True If get the type info. |
API Level: 3
View SourceGetTypeName()
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
public string GetTypeName()
Returns
Type | Description |
---|---|
String | The type name. Empty string if the typename does not exist. |
API Level: 3
View SourceHasBody()
To check the BaseHandle instance has body or not.
Declaration
public bool HasBody()
Returns
Type | Description |
---|---|
Boolean | True If the baseHandle instance has body. |
API Level: 3
View SourceIsEqual(BaseHandle)
To check the BaseHandle instance is equal or not.
Declaration
public bool IsEqual(BaseHandle rhs)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | rhs | The baseHandle instance. |
Returns
Type | Description |
---|---|
Boolean | True If equal. |
API Level: 3
View SourceNotEqualTo(BaseHandle)
To check the BaseHandle instance is equal or not.
Declaration
public bool NotEqualTo(BaseHandle rhs)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | rhs | The baseHandle instance. |
Returns
Type | Description |
---|---|
Boolean | True If not equal. |
API Level: 3
View SourceReset()
Resets the handle.
Declaration
public void Reset()
API Level: 3
Events
View SourcePropertySet
Event when a property is set.
Declaration
public event PropertyChangedEventHandler PropertySet
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |
API Level: 5
Operators
View SourceBitwiseAnd(BaseHandle, BaseHandle)
Logical AND operator.
It's possible when doing a operator this function (opBitwiseAnd) is never called due to short circuiting.
Declaration
public static BaseHandle operator &(BaseHandle x, BaseHandle y)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | x | |
BaseHandle | y |
Returns
Type | Description |
---|---|
BaseHandle |
API Level: 3
View SourceBitwiseOr(BaseHandle, BaseHandle)
Logical OR operator for ||.
It's possible when doing a || this function (opBitwiseOr) is never called due to short circuiting.
Declaration
public static BaseHandle operator |(BaseHandle x, BaseHandle y)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | x | |
BaseHandle | y |
Returns
Type | Description |
---|---|
BaseHandle |
API Level: 3
View SourceEquality(BaseHandle, BaseHandle)
Equality operator
Declaration
public static bool operator ==(BaseHandle x, BaseHandle y)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | x | |
BaseHandle | y |
Returns
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceExplicit(BaseHandle to Boolean)
Explicit conversion from Handle to bool.
Declaration
public static explicit operator bool (BaseHandle handle)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | handle |
Returns
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceFalse(BaseHandle)
Returns the bool false to indicate that an operand is false and returns true otherwise.
Declaration
public static bool operator false (BaseHandle handle)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | handle |
Returns
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceInequality(BaseHandle, BaseHandle)
Inequality operator. Returns Null if either operand is Null
Declaration
public static bool operator !=(BaseHandle x, BaseHandle y)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | x | |
BaseHandle | y |
Returns
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceLogicalNot(BaseHandle)
Logical ! operator
Declaration
public static bool operator !(BaseHandle x)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | x |
Returns
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceTrue(BaseHandle)
Returns the bool value true to indicate that an operand is true and returns false otherwise.
Declaration
public static bool operator true (BaseHandle handle)
Parameters
Type | Name | Description |
---|---|---|
BaseHandle | handle |
Returns
Type | Description |
---|---|
Boolean |