namespace Tizen.NUI
{
+ /// <summary>
+ /// Three dimensional size
+ /// </summary>
public class Size : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// </summary>
public virtual void Dispose()
{
if (!Stage.IsInstalled())
}
+ /// <summary>
+ /// Addition operator.
+ /// </summary>
public static Size operator +(Size arg1, Size arg2)
{
return arg1.Add(arg2);
}
+ /// <summary>
+ /// Subtraction operator.
+ /// </summary>
public static Size operator -(Size arg1, Size arg2)
{
return arg1.Subtract(arg2);
}
+ /// <summary>
+ ///
+ /// </summary>
public static Size operator -(Size arg1)
{
return arg1.Subtract();
}
+ /// <summary>
+ /// Multiplication operator.
+ /// </summary>
public static Size operator *(Size arg1, Size arg2)
{
return arg1.Multiply(arg2);
}
+ /// <summary>
+ /// Multiplication operator.
+ /// </summary>
public static Size operator *(Size arg1, float arg2)
{
return arg1.Multiply(arg2);
}
+ /// <summary>
+ /// Division operator.
+ /// </summary>
public static Size operator /(Size arg1, Size arg2)
{
return arg1.Divide(arg2);
}
+ /// <summary>
+ /// Division operator.
+ /// </summary>
public static Size operator /(Size arg1, float arg2)
{
return arg1.Divide(arg2);
}
+ /// <summary>
+ /// Array subscript operator.
+ /// </summary>
public float this[uint index]
{
get
}
}
+ /// <summary>
+ /// </summary>
public static Size GetSizeFromPtr(global::System.IntPtr cPtr)
{
Size ret = new Size(cPtr, false);
return ret;
}
-
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public Size() : this(NDalicPINVOKE.new_Vector3__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public Size(float x, float y, float z) : this(NDalicPINVOKE.new_Vector3__SWIG_1(x, y, z), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public Size(Size2D size2d) : this(NDalicPINVOKE.new_Vector3__SWIG_3(Size2D.getCPtr(size2d)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
-
+ /// <summary>
+ /// </summary>
public static Size Zero
{
get
return ret;
}
+ /// <summary>
+ /// Check equality.
+ /// Utilizes appropriate machine epsilon values.
+ /// </summary>
public bool EqualTo(Size rhs)
{
bool ret = NDalicPINVOKE.Vector3_EqualTo(swigCPtr, Size.getCPtr(rhs));
return ret;
}
+ /// <summary>
+ /// Check inequality.
+ /// Utilizes appropriate machine epsilon values.
+ /// </summary>
public bool NotEqualTo(Size rhs)
{
bool ret = NDalicPINVOKE.Vector3_NotEqualTo(swigCPtr, Size.getCPtr(rhs));
return ret;
}
-
+ /// <summary>
+ /// </summary>
public float Width
{
set
}
}
+ /// <summary>
+ /// </summary>
public float Height
{
set
}
}
+ /// <summary>
+ /// </summary>
public float Depth
{
set
}
}
-
+ /// <summary>
+ /// </summary>
public static implicit operator Vector3(Size size)
{
return new Vector3(size.Width, size.Height, size.Depth);
}
+ /// <summary>
+ /// </summary>
public static implicit operator Size(Vector3 vec)
{
return new Size(vec.Width, vec.Height, vec.Depth);
namespace Tizen.NUI
{
+ /// <summary>
+ /// A two dimensional size
+ /// </summary>
public class Size2D : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// </summary>
public virtual void Dispose()
{
if (!Stage.IsInstalled())
}
}
-
+ /// <summary>
+ /// Addition operator.
+ /// </summary>
public static Size2D operator +(Size2D arg1, Size2D arg2)
{
return arg1.Add(arg2);
}
+ /// <summary>
+ /// Subtraction operator.
+ /// </summary>
public static Size2D operator -(Size2D arg1, Size2D arg2)
{
return arg1.Subtract(arg2);
}
+ /// <summary>
+ /// </summary>
public static Size2D operator -(Size2D arg1)
{
return arg1.Subtract();
}
+ /// <summary>
+ /// Multiplication operator.
+ /// </summary>
public static Size2D operator *(Size2D arg1, Size2D arg2)
{
return arg1.Multiply(arg2);
}
+ /// <summary>
+ /// Multiplication operator.
+ /// </summary>
public static Size2D operator *(Size2D arg1, int arg2)
{
return arg1.Multiply(arg2);
}
+ /// <summary>
+ /// Division operator.
+ /// </summary>
public static Size2D operator /(Size2D arg1, Size2D arg2)
{
return arg1.Divide(arg2);
}
+ /// <summary>
+ /// Division operator.
+ /// </summary>
public static Size2D operator /(Size2D arg1, int arg2)
{
return arg1.Divide(arg2);
}
+ /// <summary>
+ /// Array subscript operator.
+ /// </summary>
public float this[uint index]
{
get
}
}
+ /// <summary>
public static Size2D GetSize2DFromPtr(global::System.IntPtr cPtr)
{
Size2D ret = new Size2D(cPtr, false);
return ret;
}
-
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public Size2D() : this(NDalicPINVOKE.new_Vector2__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public Size2D(int x, int y) : this(NDalicPINVOKE.new_Vector2__SWIG_1((float)x, (float)y), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public Size2D(Size size) : this(NDalicPINVOKE.new_Vector2__SWIG_3(Size.getCPtr(size)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Check equality.
+ /// Utilizes appropriate machine epsilon values.
+ /// </summary>
public bool EqualTo(Size2D rhs)
{
bool ret = NDalicPINVOKE.Vector2_EqualTo(swigCPtr, Size2D.getCPtr(rhs));
return ret;
}
+ /// <summary>
+ /// Check inequality.
+ /// Utilizes appropriate machine epsilon values.
+ /// </summary>
public bool NotEqualTo(Size2D rhs)
{
bool ret = NDalicPINVOKE.Vector2_NotEqualTo(swigCPtr, Size2D.getCPtr(rhs));
return ret;
}
-
+ /// <summary>
+ /// </summary>
public int Width
{
set
}
}
+ /// <summary>
+ /// </summary>
public int Height
{
set
}
}
+ /// <summary>
+ /// </summary>
public static implicit operator Vector2(Size2D size)
{
return new Vector2((float)size.Width, (float)size.Height);
}
+ /// <summary>
+ /// </summary>
public static implicit operator Size2D(Vector2 vec)
{
return new Size2D((int)vec.X, (int)vec.Y);
using System;
using System.Runtime.InteropServices;
-
+ /// <summary>
+ /// Slider is a control to enable sliding an indicator between two values.
+ /// </summary>
public class Slider : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
+ /// <summary>
+ /// Emitted when the slider value changes.
+ /// </summary>
public class ValueChangedEventArgs : EventArgs
{
private Slider _slider;
}
}
+ /// <summary>
+ /// Emitted when the sliding is finished.
+ /// </summary>
public class SlidingFinishedEventArgs : EventArgs
{
private Slider _slider;
}
}
+ /// <summary>
+ /// Emitted when the slider handle reaches a mark.
+ /// </summary>
public class MarkReachedEventArgs : EventArgs
{
private Slider _slider;
private EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> _sliderMarkReachedEventHandler;
private MarkReachedCallbackDelegate _sliderMarkReachedCallbackDelegate;
+ /// <summary>
+ /// </summary>
public event EventHandlerWithReturnType<object, ValueChangedEventArgs, bool> ValueChanged
{
add
return false;
}
+ /// <summary>
+ /// </summary>
public event EventHandlerWithReturnType<object, SlidingFinishedEventArgs, bool> SlidingFinished
{
add
return false;
}
+ /// <summary>
+ /// </summary>
public event EventHandlerWithReturnType<object, MarkReachedEventArgs, bool> MarkReached
{
add
return false;
}
+ /// <summary>
+ /// </summary>
public static Slider GetSliderFromPtr(global::System.IntPtr cPtr)
{
Slider ret = new Slider(cPtr, false);
return ret;
}
-
internal class Property : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
}
+ /// <summary>
+ /// Creates an empty Slider handle.
+ /// </summary>
public Slider() : this(NDalicPINVOKE.Slider_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Downcasts an Object handle to Slider.
+ /// If handle points to a Slider, the downcast produces valid handle.
+ /// If not, the returned handle is left uninitialized.
+ /// </summary>
public new static Slider DownCast(BaseHandle handle)
{
Slider ret = new Slider(NDalicPINVOKE.Slider_DownCast(BaseHandle.getCPtr(handle)), true);
PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
}
+ /// <summary>
+ /// Lower bound property
+ /// </summary>
public float LowerBound
{
get
SetProperty(Slider.Property.LOWER_BOUND, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Upper bound property
+ /// </summary>
public float UpperBound
{
get
SetProperty(Slider.Property.UPPER_BOUND, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Value property
+ /// </summary>
public float Value
{
get
SetProperty(Slider.Property.VALUE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Track visual property
+ /// </summary>
public PropertyMap TrackVisual
{
get
SetProperty(Slider.Property.TRACK_VISUAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Handle visual property
+ /// </summary>
public PropertyMap HandleVisual
{
get
SetProperty(Slider.Property.HANDLE_VISUAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Progress visual property
+ /// </summary>
public PropertyMap ProgressVisual
{
get
SetProperty(Slider.Property.PROGRESS_VISUAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Popup visual property
+ /// </summary>
public PropertyMap PopupVisual
{
get
SetProperty(Slider.Property.POPUP_VISUAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Popup arrow visual property
+ /// </summary>
public PropertyMap PopupArrowVisual
{
get
SetProperty(Slider.Property.POPUP_ARROW_VISUAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Disable color property
+ /// </summary>
public Vector4 DisabledColor
{
get
SetProperty(Slider.Property.DISABLED_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Value presicion property
+ /// </summary>
public int ValuePrecision
{
get
SetProperty(Slider.Property.VALUE_PRECISION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Show popup property
+ /// </summary>
public bool ShowPopup
{
get
SetProperty(Slider.Property.SHOW_POPUP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Show value property
+ /// </summary>
public bool ShowValue
{
get
SetProperty(Slider.Property.SHOW_VALUE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Marks property
+ /// </summary>
public Tizen.NUI.PropertyArray Marks
{
get
SetProperty(Slider.Property.MARKS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Snap to marks property
+ /// </summary>
public bool SnapToMarks
{
get
SetProperty(Slider.Property.SNAP_TO_MARKS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Mark tolerance property
+ /// </summary>
public float MarkTolerance
{
get
using System;
using System.Runtime.InteropServices;
-
+ /// <summary>
+ /// The Stage is a top-level object used for displaying a tree of Actors.
+ /// Stage is a top-level object that represents the entire screen.
+ /// It is used for displaying a hierarchy of actors managed by the scene graph structure,
+ /// which means an actor inherits a position relative to its parent,
+ /// and can be moved in relation to this point.
+ /// The stage instance is a singleton object (the only instance of its class during the
+ /// lifetime of the program). You can get it using a static function.
+ /// To display the contents of an actor, it must be added to a stage.
+ /// </summary>
public class Stage : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
}
}
-
-
-
- /**
- * @brief Event arguments that passed via Touch signal
- *
- */
+ /// <summary>
+ /// Touch event argument
+ /// </summary>
public class TouchEventArgs : EventArgs
{
private Touch _touch;
- /**
- * @brief Touch - contains the information of touch points
- *
- */
+ /// <summary>
+ /// Touch
+ /// </summary>
public Touch Touch
{
get
private event EventHandler<TouchEventArgs> _stageTouchHandler;
private EventCallbackDelegateType1 _stageTouchCallbackDelegate;
- /**
- * @brief Event for TouchEvent signal which can be used to subscribe/unsubscribe the event handler
- * TouchEvent signal is emitted when the screen is touched and when the touch ends
- * (i.e. the down & up touch events only).
- *
- */
+ /// <summary>
+ /// This is emitted when the screen is touched and when the touch ends.
+ /// If there are multiple touch points, then this will be emitted when the first touch occurs and
+ /// then when the last finger is lifted.
+ /// An interrupted event will also be emitted (if it occurs).
+ /// </summary>
public event EventHandler<TouchEventArgs> Touch
{
add
}
}
- /**
- * @brief Wheel arguments that passed via Wheel signal
- *
- */
+ /// <summary>
+ /// Wheel event arguments
+ /// </summary>
public class WheelEventArgs : EventArgs
{
private Wheel _wheel;
- /**
- * @brief Wheel - store a wheel rolling type MOUSE_WHEEL or CUSTOM_WHEEL
- *
- */
+ /// <summary>
+ /// Wheel
+ /// </summary>
public Wheel Wheel
{
get
private event EventHandler<WheelEventArgs> _stageWheelHandler;
private EventCallbackDelegateType1 _stageWheelCallbackDelegate;
- /**
- * @brief Event for Wheel signal which can be used to subscribe/unsubscribe the event handler
- * Wheel signal is emitted is emitted when wheel event is received.
- *
- */
+ /// <summary>
+ /// This is emitted when wheel event is received.
+ /// </summary>
public event EventHandler<WheelEventArgs> Wheel
{
add
}
}
- /**
- * @brief Event arguments that passed via Key signal
- *
- */
+ /// <summary>
+ /// Key event arguments.
+ /// </summary>
public class KeyEventArgs : EventArgs
{
private Key _key;
- /**
- * @brief Key - is the keyevent sent to Stage.
- *
- */
+ /// <summary>
+ /// Key
+ /// </summary>
public Key Key
{
get
private event EventHandler<KeyEventArgs> _stageKeyHandler;
private EventCallbackDelegateType1 _stageKeyCallbackDelegate;
- /**
- * @brief Event for Key signal which can be used to subscribe/unsubscribe the event handler
- * Key signal is emitted is emitted when key event is received.
- *
- */
+ /// <summary>
+ /// This is emitted when key event is received.
+ /// </summary>
public event EventHandler<KeyEventArgs> Key
{
add
private event EventHandler _stageEventProcessingFinishedEventHandler;
private EventCallbackDelegateType0 _stageEventProcessingFinishedEventCallbackDelegate;
- /**
- * @brief Event for EventProcessingFinished signal which can be used to subscribe/unsubscribe the event handler
- * provided by the user. EventProcessingFinished signal is emitted just after the event processing is finished.
- *
- */
internal event EventHandler EventProcessingFinished
{
add
private EventHandler _stageContextLostEventHandler;
private EventCallbackDelegateType0 _stageContextLostEventCallbackDelegate;
- /**
- * @brief Event for ContextLost signal which can be used to subscribe/unsubscribe the event handler
- * ContextLost signal is emitted when the GL context is lost (Platform specific behaviour).
- *
- */
internal event EventHandler ContextLost
{
add
private EventHandler _stageContextRegainedEventHandler;
private EventCallbackDelegateType0 _stageContextRegainedEventCallbackDelegate;
- /**
- * @brief Event for ContextRegained signal which can be used to subscribe/unsubscribe the event handler
- * provided by the user. ContextRegained signal is emitted when the GL context is regained (Platform specific
- * behaviour).
- *
- */
internal event EventHandler ContextRegained
{
add
private EventHandler _stageSceneCreatedEventHandler;
private EventCallbackDelegateType0 _stageSceneCreatedEventCallbackDelegate;
- /**
- * @brief Event for SceneCreated signal which can be used to subscribe/unsubscribe the event handler
- * SceneCreated signal is emitted after the initial scene is created.
- *
- */
internal event EventHandler SceneCreated
{
add
}
}
-
+ /// <summary>
+ /// Size.
+ /// </summary>
public Size2D Size
{
get
}
}
+ /// <summary>
+ /// Background color.
+ /// </summary>
public Color BackgroundColor
{
set
}
}
+ /// <summary>
+ /// Dpi.
+ /// </summary>
public Vector2 Dpi
{
get
}
}
+ /// <summary>
+ /// Layer count.
+ /// </summary>
public uint LayerCount
{
get
private static readonly Stage instance = Stage.GetCurrent();
+ /// <summary>
+ /// Stage instance.
+ /// </summary>
public static Stage Instance
{
get
}
}
+ /// <summary>
+ /// Get default ( root ) layer.
+ /// </summary>
public Layer GetDefaultLayer()
{
return this.GetRootLayer();
}
+ /// <summary>
+ /// Add layer to the Stage.
+ /// </summary>
public void AddLayer(Layer layer)
{
this.Add((Actor)layer);
}
+ /// <summary>
+ /// Remove layer from the Stage.
+ /// </summary>
public void RemoveLayer(Layer layer)
{
this.Remove((Actor)layer);
}
-
-
internal static Vector4 DEFAULT_BACKGROUND_COLOR
{
get
return ret;
}
+ /// <summary>
+ /// Retrieves the layer at a specified depth.
+ /// </summary>
public Layer GetLayer(uint depth)
{
Layer ret = new Layer(NDalicPINVOKE.Stage_GetLayer(swigCPtr, depth), true);
return ret;
}
+ /// <summary>
+ /// Keep rendering for at least the given amount of time.
+ /// </summary>
public void KeepRendering(float durationSeconds)
{
NDalicPINVOKE.Stage_KeepRendering(swigCPtr, durationSeconds);
using System;
using System.Runtime.InteropServices;
+ /// <summary>
+ /// StyleManager informs applications of system theme change,
+ /// and supports application theme change at runtime.
+ /// Applies various styles to Controls using the properties system.
+ /// On theme change, it automatically updates all controls, then raises
+ /// a event to inform the application.
+ ///
+ /// If the application wants to customize the theme, RequestThemeChange
+ /// needs to be called.
+ /// It provides the path to the application resource root folder,
+ /// from there the filename can an be specified along with
+ /// any sub folders, e.g Images, Models etc.
+ /// </summary>
public class StyleManager : BaseHandle
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose
+ /// </summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
}
}
-
-
-
- /**
- * @brief Event arguments that passed via StyleChanged signal
- *
- */
+ /// <summary>
+ /// Style changed event arguments
+ /// </summary>
public class StyleChangedEventArgs : EventArgs
{
private StyleManager _styleManager;
private StyleChangeType _styleChange;
- /**
- * @brief StyleManager - is the StyleManager that informs applications of system theme change,
- * and supports application theme change at runtime.
- *
- */
+ /// <summary>
+ /// StyleManager.
+ /// </summary>
public StyleManager StyleManager
{
get
}
}
- /**
- * @brief StyleChange - contains Style change information (default font changed or
- * default font size changed or theme has changed)
- *
- */
+ /// <summary>
+ /// StyleChange - contains Style change information (default font changed or
+ /// default font size changed or theme has changed)
+ /// </summary>
public StyleChangeType StyleChange
{
get
private EventHandler<StyleChangedEventArgs> _styleManagerStyleChangedEventHandler;
private StyleChangedCallbackDelegate _styleManagerStyleChangedCallbackDelegate;
- /**
- * @brief Event for StyleChanged signal which can be used to subscribe/unsubscribe the
- * event handler (in the type of StyleChangedEventHandler-DaliEventHandler<object,StyleChangedEventArgs>)
- * provided by the user. StyleChanged signal is is emitted after the style (e.g. theme/font change) has changed
- * and the controls have been informed.
- */
+ /// <summary>
+ /// Event for StyleChanged signal which can be used to subscribe/unsubscribe the
+ /// event handler provided by the user.
+ /// StyleChanged signal is is emitted after the style (e.g. theme/font change) has changed
+ /// and the controls have been informed.
+ /// </summary>
public event EventHandler<StyleChangedEventArgs> StyleChanged
{
add
return ret;
}
-
+ /// <summary>
+ /// Creates a StyleManager handle.
+ /// this can be initialized with StyleManager::Get().
+ /// </summary>
public StyleManager() : this(NDalicPINVOKE.new_StyleManager(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the singleton of StyleManager object.
+ /// </summary>
public static StyleManager Get()
{
StyleManager ret = new StyleManager(NDalicPINVOKE.StyleManager_Get(), true);
return ret;
}
+ /// <summary>
+ /// Applies a new theme to the application.
+ /// This will be merged on top of the default Toolkit theme.
+ /// If the application theme file doesn't style all controls that the
+ /// application uses, then the default Toolkit theme will be used
+ /// instead for those controls.
+ /// </summary>
public void ApplyTheme(string themeFile)
{
NDalicPINVOKE.StyleManager_ApplyTheme(swigCPtr, themeFile);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Applies the default Toolkit theme.
+ /// </summary>
public void ApplyDefaultTheme()
{
NDalicPINVOKE.StyleManager_ApplyDefaultTheme(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets a constant for use when building styles.
+ /// </summary>
public void SetStyleConstant(string key, PropertyValue value)
{
NDalicPINVOKE.StyleManager_SetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(value));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Returns the style constant set for a specific key.
+ /// </summary>
public bool GetStyleConstant(string key, PropertyValue valueOut)
{
bool ret = NDalicPINVOKE.StyleManager_GetStyleConstant(swigCPtr, key, PropertyValue.getCPtr(valueOut));
return ret;
}
+ /// <summary>
+ /// Applies the specified style to the control.
+ /// </summary>
public void ApplyStyle(View control, string jsonFileName, string styleName)
{
NDalicPINVOKE.StyleManager_ApplyStyle(swigCPtr, View.getCPtr(control), jsonFileName, styleName);
}
+ /// <summary>
+ /// Types of style change.
+ /// </summary>
public enum StyleChangeType
{
DefaultFontChange,
namespace Tizen.NUI
{
-
+ /// <summary>
+ /// TableView is a layout container for aligning child actors in a grid like layout.
+ /// TableView constrains the x and y position and width and height of the child actors.
+ /// z position and depth are left intact so that 3D model actors can also be laid out
+ /// in a grid without loosing their depth scaling.
+ /// </summary>
public class TableView : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose.
+ /// <summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
}
+ /// <summary>
+ /// Class to specify layout position for child actor.
+ /// </summary>
public class CellPosition : global::System.IDisposable
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
Dispose();
}
+ /// <summary>
+ /// Dispose
+ /// </summary>
public virtual void Dispose()
{
lock (this)
}
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan, uint columnSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_0(rowIndex, columnIndex, rowSpan, columnSpan), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public CellPosition(uint rowIndex, uint columnIndex, uint rowSpan) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_1(rowIndex, columnIndex, rowSpan), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public CellPosition(uint rowIndex, uint columnIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_2(rowIndex, columnIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor.
+ /// </summary>
public CellPosition(uint rowIndex) : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_3(rowIndex), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Constructor to initialise values to defaults for convenience.
+ /// </summary>
public CellPosition() : this(NDalicPINVOKE.new_TableView_CellPosition__SWIG_4(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Row index.
+ /// </summary>
public uint rowIndex
{
set
}
}
+ /// <summary>
+ /// Column index.
+ /// </summary>
public uint columnIndex
{
set
}
}
+ /// <summary>
+ /// Row span.
+ /// </summary>
public uint rowSpan
{
set
}
}
+ /// <summary>
+ /// Column span.
+ /// </summary>
public uint columnSpan
{
set
}
+ /// <summary>
+ /// Creates the TableView control.
+ /// </summary>
public TableView(uint initialRows, uint initialColumns) : this(NDalicPINVOKE.TableView_New(initialRows, initialColumns), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+
+ /// <summary>
+ /// Copy constructor. Creates another handle that points to the same real object.
+ /// </summary>
public TableView(TableView handle) : this(NDalicPINVOKE.new_TableView__SWIG_1(TableView.getCPtr(handle)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Changes this handle to point to another real object.
+ /// </summary>
public TableView Assign(TableView handle)
{
TableView ret = new TableView(NDalicPINVOKE.TableView_Assign(swigCPtr, TableView.getCPtr(handle)), false);
return ret;
}
+ /// <summary>
+ /// Downcasts a handle to TableView handle.
+ /// </summary>
public new static TableView DownCast(BaseHandle handle)
{
TableView ret = new TableView(NDalicPINVOKE.TableView_DownCast(BaseHandle.getCPtr(handle)), true);
return ret;
}
+ /// <summary>
+ /// Adds a child to the table.
+ /// </summary>
public bool AddChild(Actor child, TableView.CellPosition position)
{
bool ret = NDalicPINVOKE.TableView_AddChild(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));
return ret;
}
+ /// <summary>
+ /// Returns a child from the given layout position.
+ /// </summary>
public Actor GetChildAt(TableView.CellPosition position)
{
Actor ret = new Actor(NDalicPINVOKE.TableView_GetChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
return ret;
}
+ /// <summary>
+ /// Removes a child from the given layout position.
+ /// </summary>
public Actor RemoveChildAt(TableView.CellPosition position)
{
Actor ret = new Actor(NDalicPINVOKE.TableView_RemoveChildAt(swigCPtr, TableView.CellPosition.getCPtr(position)), true);
return ret;
}
+ /// <summary>
+ /// Finds the child's layout position.
+ /// </summary>
public bool FindChildPosition(Actor child, TableView.CellPosition position)
{
bool ret = NDalicPINVOKE.TableView_FindChildPosition(swigCPtr, Actor.getCPtr(child), TableView.CellPosition.getCPtr(position));
return ret;
}
+ /// <summary>
+ /// Inserts a new row to given index.
+ /// </summary>
public void InsertRow(uint rowIndex)
{
NDalicPINVOKE.TableView_InsertRow(swigCPtr, rowIndex);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Deletes a row from the given index.
+ /// </summary>
public void DeleteRow(uint rowIndex)
{
NDalicPINVOKE.TableView_DeleteRow__SWIG_0(swigCPtr, rowIndex);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Inserts a new column to the given index.
+ /// </summary>
public void InsertColumn(uint columnIndex)
{
NDalicPINVOKE.TableView_InsertColumn(swigCPtr, columnIndex);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Deletes a column from the given index.
+ /// </summary>
public void DeleteColumn(uint columnIndex)
{
NDalicPINVOKE.TableView_DeleteColumn__SWIG_0(swigCPtr, columnIndex);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Resizes the TableView.
+ /// </summary>
public void Resize(uint rows, uint columns)
{
NDalicPINVOKE.TableView_Resize__SWIG_0(swigCPtr, rows, columns);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Sets horizontal and vertical padding between cells.
+ /// </summary>
public void SetCellPadding(Size2D padding)
{
NDalicPINVOKE.TableView_SetCellPadding(swigCPtr, Size2D.getCPtr(padding));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets the current padding as width and height.
+ /// </summary>
public Vector2 GetCellPadding()
{
Vector2 ret = new Vector2(NDalicPINVOKE.TableView_GetCellPadding(swigCPtr), true);
return ret;
}
+ /// <summary>
+ /// Specifies this row as fitting its height to its children.
+ /// </summary>
public void SetFitHeight(uint rowIndex)
{
NDalicPINVOKE.TableView_SetFitHeight(swigCPtr, rowIndex);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Checks if the row is a fit row.
+ /// </summary>
public bool IsFitHeight(uint rowIndex)
{
bool ret = NDalicPINVOKE.TableView_IsFitHeight(swigCPtr, rowIndex);
return ret;
}
+ /// <summary>
+ /// Specifies this column as fitting its width to its children.
+ /// </summary>
public void SetFitWidth(uint columnIndex)
{
NDalicPINVOKE.TableView_SetFitWidth(swigCPtr, columnIndex);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Checks if the column is a fit column.
+ /// </summary>
public bool IsFitWidth(uint columnIndex)
{
bool ret = NDalicPINVOKE.TableView_IsFitWidth(swigCPtr, columnIndex);
return ret;
}
+ /// <summary>
+ /// Sets a row to have fixed height.
+ /// </summary>
public void SetFixedHeight(uint rowIndex, float height)
{
NDalicPINVOKE.TableView_SetFixedHeight(swigCPtr, rowIndex, height);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets a row's fixed height.
+ /// </summary>
public float GetFixedHeight(uint rowIndex)
{
float ret = NDalicPINVOKE.TableView_GetFixedHeight(swigCPtr, rowIndex);
return ret;
}
+ /// <summary>
+ /// Sets a row to have relative height. Relative height means percentage of
+ /// the remainder of the table height after subtracting Padding and Fixed height rows.
+ /// Setting a relative height of 0 has no effect.
+ /// </summary>
public void SetRelativeHeight(uint rowIndex, float heightPercentage)
{
NDalicPINVOKE.TableView_SetRelativeHeight(swigCPtr, rowIndex, heightPercentage);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets a row's relative height.
+ /// </summary>
public float GetRelativeHeight(uint rowIndex)
{
float ret = NDalicPINVOKE.TableView_GetRelativeHeight(swigCPtr, rowIndex);
return ret;
}
+ /// <summary>
+ /// Sets a column to have fixed width.
+ /// </summary>
public void SetFixedWidth(uint columnIndex, float width)
{
NDalicPINVOKE.TableView_SetFixedWidth(swigCPtr, columnIndex, width);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets a column's fixed width.
+ /// </summary>
public float GetFixedWidth(uint columnIndex)
{
float ret = NDalicPINVOKE.TableView_GetFixedWidth(swigCPtr, columnIndex);
return ret;
}
+ /// <summary>
+ /// Sets a column to have relative width. Relative width means percentage of
+ /// the remainder of table width after subtracting Padding and Fixed width columns.
+ /// Setting a relative width of 0 has no effect.
+ /// </summary>
public void SetRelativeWidth(uint columnIndex, float widthPercentage)
{
NDalicPINVOKE.TableView_SetRelativeWidth(swigCPtr, columnIndex, widthPercentage);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Gets a column's relative width.
+ /// </summary>
public float GetRelativeWidth(uint columnIndex)
{
float ret = NDalicPINVOKE.TableView_GetRelativeWidth(swigCPtr, columnIndex);
return ret;
}
+ /// <summary>
+ /// Gets the amount of rows in the table.
+ /// </summary>
public uint GetRows()
{
uint ret = NDalicPINVOKE.TableView_GetRows(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Gets the amount of columns in the table.
+ /// </summary>
public uint GetColumns()
{
uint ret = NDalicPINVOKE.TableView_GetColumns(swigCPtr);
return ret;
}
+ /// <summary>
+ /// Sets the alignment on a cell.
+ /// </summary>
public void SetCellAlignment(TableView.CellPosition position, HorizontalAlignmentType horizontal, VerticalAlignmentType vertical)
{
NDalicPINVOKE.TableView_SetCellAlignment(swigCPtr, TableView.CellPosition.getCPtr(position), (int)horizontal, (int)vertical);
CHILD_PROPERTY_END_INDEX = PropertyRanges.CHILD_PROPERTY_REGISTRATION_START_INDEX + 1000
}
+ /// <summary>
+ /// Layout policy.
+ /// </summary>
public enum LayoutPolicy
{
Fixed,
Fit
}
+ /// <summary>
+ /// Rows property.
+ /// </summary>
public int Rows
{
get
SetProperty(TableView.Property.ROWS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Columns property.
+ /// </summary>
public int Columns
{
get
SetProperty(TableView.Property.COLUMNS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Cell padding property.
+ /// </summary>
public Vector2 CellPadding
{
get
SetProperty(TableView.Property.CELL_PADDING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Layout rows property.
+ /// </summary>
public PropertyMap LayoutRows
{
get
SetProperty(TableView.Property.LAYOUT_ROWS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Layout columns property.
+ /// </summary>
public PropertyMap LayoutColumns
{
get
}
}
+
+ /// <summary>
+ /// HorizontalAlignmentType.
+ /// </summary>
public enum HorizontalAlignmentType
{
Left,
Center,
Right
}
+
+ /// <summary>
+ /// VerticalAlignmentType.
+ /// </summary>
public enum VerticalAlignmentType
{
Top,
namespace Tizen.NUI
{
+ /// <summary>
+ /// A TapGesture is emitted when the user taps the screen with the stated number of fingers a stated number of times.
+ /// </summary>
public class TapGesture : Gesture
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose
+ /// </summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
}
+ /// <summary>
+ /// Get TapGesture from Ptr.
+ /// </summary>
public static TapGesture GetTapGestureFromPtr(global::System.IntPtr cPtr)
{
TapGesture ret = new TapGesture(cPtr, false);
return ret;
}
+ /// <summary>
+ /// NumberOfTaps.
+ /// </summary>
public uint NumberOfTaps
{
get
}
}
+ /// <summary>
+ /// NumberOfTouches.
+ /// </summary>
public uint NumberOfTouches
{
get
}
}
+ /// <summary>
+ /// ScreenPoint.
+ /// </summary>
public Vector2 ScreenPoint
{
get
}
}
+ /// <summary>
+ /// LocalPoint.
+ /// </summary>
public Vector2 LocalPoint
{
get
}
}
+ /// <summary>
+ /// Default constructor.
+ /// </summary>
public TapGesture() : this(NDalicPINVOKE.new_TapGesture__SWIG_0(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Copy constructor.
+ /// </summary>
public TapGesture(TapGesture rhs) : this(NDalicPINVOKE.new_TapGesture__SWIG_1(TapGesture.getCPtr(rhs)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
+ /// <summary>
+ /// Assignment.
+ /// </summary>
public TapGesture Assign(TapGesture rhs)
{
TapGesture ret = new TapGesture(NDalicPINVOKE.TapGesture_Assign(swigCPtr, TapGesture.getCPtr(rhs)), false);
using System;
using System.Runtime.InteropServices;
-
+ /// <summary>
+ /// A control which provides a multi-line editable text editor.
+ /// </summary>
public class TextEditor : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose.
+ /// </summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
- /**
- * @brief Event arguments that passed via TextChanged signal
- *
- */
+ /// <summary>
+ /// Event arguments that passed via TextChanged signal.
+ /// </summary>
public class TextChangedEventArgs : EventArgs
{
private TextEditor _textEditor;
- /**
- * @brief TextEditor - is the texteditor control which has the text contents changed.
- *
- */
+
+ /// <summary>
+ /// TextEditor - is the texteditor control which has the text contents changed.
+ /// </summary>
public TextEditor TextEditor
{
get
private EventHandler<TextChangedEventArgs> _textEditorTextChangedEventHandler;
private TextChangedCallbackDelegate _textEditorTextChangedCallbackDelegate;
- /**
- * @brief Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
- * (in the type of TextChangedEventHandler-DaliEventHandler<object,TextChangedEventArgs>)
- * provided by the user. TextChanged signal is emitted when the text changes.
- */
+ /// <summary>
+ /// Event for TextChanged signal which can be used to subscribe/unsubscribe the event handler
+ /// provided by the user. TextChanged signal is emitted when the text changes.
+ /// </summary>
public event EventHandler<TextChangedEventArgs> TextChanged
{
add
}
+ /// <summary>
+ /// Creates an empty handle.
+ /// </summary>
public TextEditor() : this(NDalicPINVOKE.TextEditor_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Downcasts a handle to TextEditor.
+ /// </summary>
public new static TextEditor DownCast(BaseHandle handle)
{
TextEditor ret = new TextEditor(NDalicPINVOKE.TextEditor_DownCast(BaseHandle.getCPtr(handle)), true);
PROPERTY_END_INDEX = View.PropertyRange.PROPERTY_START_INDEX + 1000
}
+ /// <summary>
+ /// Rendering backend property
+ /// </summary>
public int RenderingBackend
{
get
SetProperty(TextEditor.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Text property.
+ /// </summary>
public string Text
{
get
SetProperty(TextEditor.Property.TEXT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Text color property.
+ /// </summary>
public Vector4 TextColor
{
get
SetProperty(TextEditor.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Font family property.
+ /// </summary>
public string FontFamily
{
get
SetProperty(TextEditor.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Font style property.
+ /// </summary>
public PropertyMap FontStyle
{
get
SetProperty(TextEditor.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Point size property.
+ /// </summary>
public float PointSize
{
get
SetProperty(TextEditor.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Horizontal alignment property.
+ /// </summary>
public string HorizontalAlignment
{
get
SetProperty(TextEditor.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Scroll threshold property.
+ /// </summary>
public float ScrollThreshold
{
get
SetProperty(TextEditor.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Scroll speed property.
+ /// </summary>
public float ScrollSpeed
{
get
SetProperty(TextEditor.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Primary cursor color property.
+ /// </summary>
public Vector4 PrimaryCursorColor
{
get
SetProperty(TextEditor.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SecondaryCursorColor property.
+ /// </summary>
public Vector4 SecondaryCursorColor
{
get
SetProperty(TextEditor.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableCursorBlink property.
+ /// </summary>
public bool EnableCursorBlink
{
get
SetProperty(TextEditor.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkInterval property.
+ /// </summary>
public float CursorBlinkInterval
{
get
SetProperty(TextEditor.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkDuration property.
+ /// </summary>
public float CursorBlinkDuration
{
get
SetProperty(TextEditor.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorWidth property.
+ /// </summary>
public int CursorWidth
{
get
SetProperty(TextEditor.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandleImage property.
+ /// </summary>
public string GrabHandleImage
{
get
SetProperty(TextEditor.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandlePressedImage property.
+ /// </summary>
public string GrabHandlePressedImage
{
get
SetProperty(TextEditor.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleImageLeft
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleImageRight
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageLeft
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageRight property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageRight
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageLeft
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageRight
{
get
SetProperty(TextEditor.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHighlightColor property.
+ /// </summary>
public Vector4 SelectionHighlightColor
{
get
SetProperty(TextEditor.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// DecorationBoundingBox property.
+ /// </summary>
public Rectangle DecorationBoundingBox
{
get
SetProperty(TextEditor.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableMarkup property.
+ /// </summary>
public bool EnableMarkup
{
get
SetProperty(TextEditor.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputColor property.
+ /// </summary>
public Vector4 InputColor
{
get
SetProperty(TextEditor.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontFamily property.
+ /// </summary>
public string InputFontFamily
{
get
SetProperty(TextEditor.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontStyle property.
+ /// </summary>
public PropertyMap InputFontStyle
{
get
SetProperty(TextEditor.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputPointSize property.
+ /// </summary>
public float InputPointSize
{
get
SetProperty(TextEditor.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// LineSpacing property.
+ /// </summary>
public float LineSpacing
{
get
SetProperty(TextEditor.Property.LINE_SPACING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputLineSpacing property.
+ /// </summary>
public float InputLineSpacing
{
get
SetProperty(TextEditor.Property.INPUT_LINE_SPACING, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Underline property.
+ /// </summary>
public PropertyMap Underline
{
get
SetProperty(TextEditor.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputUnderline property.
+ /// </summary>
public PropertyMap InputUnderline
{
get
SetProperty(TextEditor.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Shadow property.
+ /// </summary>
public PropertyMap Shadow
{
get
SetProperty(TextEditor.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputShadow property.
+ /// </summary>
public PropertyMap InputShadow
{
get
SetProperty(TextEditor.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Emboss property.
+ /// </summary>
public PropertyMap Emboss
{
get
SetProperty(TextEditor.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputEmboss property.
+ /// </summary>
public PropertyMap InputEmboss
{
get
SetProperty(TextEditor.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Outline property.
+ /// </summary>
public PropertyMap Outline
{
get
SetProperty(TextEditor.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputOutline property.
+ /// </summary>
public PropertyMap InputOutline
{
get
using System;
using System.Runtime.InteropServices;
-
+ /// <summary>
+ /// A control which provides a single-line editable text field.
+ /// </summary>
public class TextField : View
{
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
DisposeQueue.Instance.Add(this);
}
+ /// <summary>
+ /// Dispose
+ /// </summary>
public override void Dispose()
{
if (!Stage.IsInstalled())
}
}
-
-
+ /// <summary>
+ /// Text changed event arguments.
+ /// </summary>
public class TextChangedEventArgs : EventArgs
{
private TextField _textField;
+ /// <summary>
+ /// TextField.
+ /// </summary>
public TextField TextField
{
get
}
}
+ /// <summary>
+ /// MaxLengthReached event arguments.
+ /// </summary>
public class MaxLengthReachedEventArgs : EventArgs
{
private TextField _textField;
+ /// <summary>
+ /// TextField.
+ /// </summary>
public TextField TextField
{
get
private EventHandler<MaxLengthReachedEventArgs> _textFieldMaxLengthReachedEventHandler;
private MaxLengthReachedCallbackDelegate _textFieldMaxLengthReachedCallbackDelegate;
+ /// <summary>
+ /// TextChanged event.
+ /// </summary>
public event EventHandler<TextChangedEventArgs> TextChanged
{
add
}
+ /// <summary>
+ /// MaxLengthReached event.
+ /// </summary>
public event EventHandler<MaxLengthReachedEventArgs> MaxLengthReached
{
add
}
+ /// <summary>
+ /// Creates an empty handle.
+ /// </summary>
public TextField() : this(NDalicPINVOKE.TextField_New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
+ /// <summary>
+ /// Downcasts a handle to TextField.
+ /// </summary>
public new static TextField DownCast(BaseHandle handle)
{
TextField ret = new TextField(NDalicPINVOKE.TextField_DownCast(BaseHandle.getCPtr(handle)), true);
ExceedPolicyClip
}
+ /// <summary>
+ /// RenderingBackend property.
+ /// </summary>
public int RenderingBackend
{
get
SetProperty(TextField.Property.RENDERING_BACKEND, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Text property.
+ /// </summary>
public string Text
{
get
SetProperty(TextField.Property.TEXT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PlaceholderText property.
+ /// </summary>
public string PlaceholderText
{
get
SetProperty(TextField.Property.PLACEHOLDER_TEXT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PlaceholderTextFocused property.
+ /// </summary>
public string PlaceholderTextFocused
{
get
SetProperty(TextField.Property.PLACEHOLDER_TEXT_FOCUSED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// FontFamily property.
+ /// </summary>
public string FontFamily
{
get
SetProperty(TextField.Property.FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// FontStyle property.
+ /// </summary>
public PropertyMap FontStyle
{
get
SetProperty(TextField.Property.FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PointSize property.
+ /// </summary>
public float PointSize
{
get
SetProperty(TextField.Property.POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// MaxLength property.
+ /// </summary>
public int MaxLength
{
get
SetProperty(TextField.Property.MAX_LENGTH, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ExceedPolicy property.
+ /// </summary>
public int ExceedPolicy
{
get
SetProperty(TextField.Property.EXCEED_POLICY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// HorizontalAlignment property.
+ /// </summary>
public string HorizontalAlignment
{
get
SetProperty(TextField.Property.HORIZONTAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// VerticalAlignment property.
+ /// </summary>
public string VerticalAlignment
{
get
SetProperty(TextField.Property.VERTICAL_ALIGNMENT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// TextColor property.
+ /// </summary>
public Color TextColor
{
get
SetProperty(TextField.Property.TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PlaceholderTextColor property.
+ /// </summary>
public Vector4 PlaceholderTextColor
{
get
SetProperty(TextField.Property.PLACEHOLDER_TEXT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ShadowOffset property.
+ /// </summary>
public Vector2 ShadowOffset
{
get
SetProperty(TextField.Property.SHADOW_OFFSET, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ShadowColor property.
+ /// </summary>
public Vector4 ShadowColor
{
get
SetProperty(TextField.Property.SHADOW_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// PrimaryCursorColor property.
+ /// </summary>
public Vector4 PrimaryCursorColor
{
get
SetProperty(TextField.Property.PRIMARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SecondaryCursorColor property.
+ /// </summary>
public Vector4 SecondaryCursorColor
{
get
SetProperty(TextField.Property.SECONDARY_CURSOR_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableCursorBlink property.
+ /// </summary>
public bool EnableCursorBlink
{
get
SetProperty(TextField.Property.ENABLE_CURSOR_BLINK, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkInterval property.
+ /// </summary>
public float CursorBlinkInterval
{
get
SetProperty(TextField.Property.CURSOR_BLINK_INTERVAL, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorBlinkDuration property.
+ /// </summary>
public float CursorBlinkDuration
{
get
SetProperty(TextField.Property.CURSOR_BLINK_DURATION, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// CursorWidth property.
+ /// </summary>
public int CursorWidth
{
get
SetProperty(TextField.Property.CURSOR_WIDTH, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandleImage property.
+ /// </summary>
public string GrabHandleImage
{
get
SetProperty(TextField.Property.GRAB_HANDLE_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// GrabHandlePressedImage property.
+ /// </summary>
public string GrabHandlePressedImage
{
get
SetProperty(TextField.Property.GRAB_HANDLE_PRESSED_IMAGE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ScrollThreshold property.
+ /// </summary>
public float ScrollThreshold
{
get
SetProperty(TextField.Property.SCROLL_THRESHOLD, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// ScrollSpeed property.
+ /// </summary>
public float ScrollSpeed
{
get
SetProperty(TextField.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleImageLeft
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleImageRight
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageLeft
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandlePressedImageRight property.
+ /// </summary>
public PropertyMap SelectionHandlePressedImageRight
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_PRESSED_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageLeft property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageLeft
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_LEFT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHandleMarkerImageRight property.
+ /// </summary>
public PropertyMap SelectionHandleMarkerImageRight
{
get
SetProperty(TextField.Property.SELECTION_HANDLE_MARKER_IMAGE_RIGHT, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// SelectionHighlightColor property.
+ /// </summary>
public Vector4 SelectionHighlightColor
{
get
SetProperty(TextField.Property.SELECTION_HIGHLIGHT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// DecorationBoundingBox property.
+ /// </summary>
public Rectangle DecorationBoundingBox
{
get
SetProperty(TextField.Property.DECORATION_BOUNDING_BOX, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputMethodSettings property.
+ /// </summary>
public PropertyMap InputMethodSettings
{
get
SetProperty(TextField.Property.INPUT_METHOD_SETTINGS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputColor property.
+ /// </summary>
public Vector4 InputColor
{
get
SetProperty(TextField.Property.INPUT_COLOR, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// EnableMarkup property.
+ /// </summary>
public bool EnableMarkup
{
get
SetProperty(TextField.Property.ENABLE_MARKUP, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontFamily property.
+ /// </summary>
public string InputFontFamily
{
get
SetProperty(TextField.Property.INPUT_FONT_FAMILY, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputFontStyle property.
+ /// </summary>
public PropertyMap InputFontStyle
{
get
SetProperty(TextField.Property.INPUT_FONT_STYLE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputPointSize property.
+ /// </summary>
public float InputPointSize
{
get
SetProperty(TextField.Property.INPUT_POINT_SIZE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Underline property.
+ /// </summary>
public PropertyMap Underline
{
get
SetProperty(TextField.Property.UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputUnderline property.
+ /// </summary>
public PropertyMap InputUnderline
{
get
SetProperty(TextField.Property.INPUT_UNDERLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Shadow property.
+ /// </summary>
public PropertyMap Shadow
{
get
SetProperty(TextField.Property.SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputShadow property.
+ /// </summary>
public PropertyMap InputShadow
{
get
SetProperty(TextField.Property.INPUT_SHADOW, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Emboss property.
+ /// </summary>
public PropertyMap Emboss
{
get
SetProperty(TextField.Property.EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputEmboss property.
+ /// </summary>
public PropertyMap InputEmboss
{
get
SetProperty(TextField.Property.INPUT_EMBOSS, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// Outline property.
+ /// </summary>
public PropertyMap Outline
{
get
SetProperty(TextField.Property.OUTLINE, new Tizen.NUI.PropertyValue(value));
}
}
+
+ /// <summary>
+ /// InputOutline property.
+ /// </summary>
public PropertyMap InputOutline
{
get