Struct Placeholder
Definition
- Namespace:
- Tizen.NUI.Text
- Assembly:
- Tizen.NUI.dll
A struct to pass data of Placeholder PropertyMap.
C#Copypublic struct Placeholder : IEquatable<Placeholder>
- Implements
-
IEquatable<Placeholder>
Remarks
The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods.
See SetPlaceholder(Placeholder), SetPlaceholder(Placeholder), SetPlaceholder(Placeholder) and SetPlaceholder(Placeholder).
Properties
Declaration
C#Copypublic Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Declaration
C#Copypublic bool Ellipsis { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Declaration
C#Copypublic string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
String |
FontStyle
The FontStyle of the placeholder text (if null, the text control FontStyle is used).
Declaration
C#Copypublic FontStyle? FontStyle { get; set; }
Property Value
Type | Description |
---|---|
Nullable<FontStyle> |
PixelSize
The PiexSize of the placeholder text.
Not required if PointSize provided.
If both provided or neither provided then the text control point size is used.
Declaration
C#Copypublic float? PixelSize { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
PointSize
The PointSize of the placeholder text.
Not required if PixelSize provided.
If both provided or neither provided then the text control point size is used.
Declaration
C#Copypublic float? PointSize { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Single> |
Declaration
C#Copypublic string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
Declaration
C#Copypublic string TextFocused { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Declaration
C#Copypublic override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
Boolean | true if equal Placeholder, else false. |
Equals(Placeholder)
Determines whether the specified object is equal to the current object.
Declaration
C#Copypublic bool Equals(Placeholder other)
Parameters
Type | Name | Description |
---|---|---|
Placeholder | other | The Placeholder to compare with the current Placeholder. |
Returns
Type | Description |
---|---|
Boolean | true if equal Placeholder, else false. |
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code. |
Operators
Declaration
C#Copypublic static bool operator ==(Placeholder lhsPlaceholder, Placeholder rhsPlaceholder)
Parameters
Type | Name | Description |
---|---|---|
Placeholder | lhsPlaceholder | Placeholder to compare |
Placeholder | rhsPlaceholder | Placeholder to be compared |
Returns
Type | Description |
---|---|
Boolean | true if Placeholders are equal |
Declaration
C#Copypublic static bool operator !=(Placeholder lhsPlaceholder, Placeholder rhsPlaceholder)
Parameters
Type | Name | Description |
---|---|---|
Placeholder | lhsPlaceholder | Placeholder to compare |
Placeholder | rhsPlaceholder | Placeholder to be compared |
Returns
Type | Description |
---|---|
Boolean | true if Placeholders are not equal |