Class Label
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The Label is a widget to display text, with a simple HTML-like markup. Inherits Layout.
[Obsolete("This has been deprecated in API12")]
public class Label : Layout, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourceLabel(EvasObject)
Creates and initializes a new instance of the Label class.
Declaration
[Obsolete("This has been deprecated in API12")]
public Label(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent is a given container, which will be attached by the Label as a child. It's EvasObject type. |
Properties
View SourceIsEllipsis
Sets or gets the ellipsis behavior of the label.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool IsEllipsis { get; set; }
Property Value
Type | Description |
---|---|
bool |
LineWrapType
Sets or gets the wrapping behavior of the label.
Declaration
[Obsolete("This has been deprecated in API12")]
public WrapType LineWrapType { get; set; }
Property Value
Type | Description |
---|---|
WrapType |
LineWrapWidth
Sets or gets the wrap width of the label.
Declaration
[Obsolete("This has been deprecated in API12")]
public int LineWrapWidth { get; set; }
Property Value
Type | Description |
---|---|
int |
SlideDuration
Sets or gets the slide duration of the label.
Declaration
[Obsolete("This has been deprecated in API12")]
public double SlideDuration { get; set; }
Property Value
Type | Description |
---|---|
double |
SlideMode
Sets or gets the slide mode of the Label widget.
Declaration
[Obsolete("This has been deprecated in API12")]
public LabelSlideMode SlideMode { get; set; }
Property Value
Type | Description |
---|---|
LabelSlideMode |
SlideSpeed
Sets or gets the slide speed of the label.
Declaration
[Obsolete("This has been deprecated in API12")]
public double SlideSpeed { get; set; }
Property Value
Type | Description |
---|---|
double |
Remarks
The speed of the slide animation in px per seconds. If you set the duration of the slide using elm_label_slide_duration_set(), you cannot get the correct speed using this function until the label is actually rendered and resized.
See Also
View SourceTextStyle
Sets or gets the style of the label text.
Declaration
[Obsolete("This has been deprecated in API12")]
public string TextStyle { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
APIs, elm_label_text_style_user_peek/pop/push, are internal APIs only in Tizen. Available since Tizen_4.0.
Methods
View SourceCreateHandle(EvasObject)
Sets the content at a part of a given container widget.
Declaration
[Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | EvasObject |
Returns
Type | Description |
---|---|
System.IntPtr | The new object, otherwise null if it cannot be created. |
Overrides
View SourcePlaySlide()
Starts the slide effect.
Declaration
[Obsolete("This has been deprecated in API12")]
public void PlaySlide()
Events
View SourceSlideCompleted
SlideCompleted will be triggered when the slide is completed.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler SlideCompleted
Event Type
Type | Description |
---|---|
System.EventHandler |