[Tizen] Remove Visible propert in View.
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / NUIConstants.cs
1 // Copyright (c) 2017 Samsung Electronics Co., Ltd.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 using System;
16 using System.ComponentModel;
17
18 namespace Tizen.NUI
19 {
20     public enum ScrollModeType
21     {
22       XAxisScrollEnabled,
23       XAxisSnapToInterval,
24       XAxisScrollBoundary,
25       YAxisScrollEnabled,
26       YAxisSnapToInterval,
27       YAxisScrollBoundary
28     }
29
30     /// <summary>
31     /// This specifies whether the Actor uses its own color, or inherits.
32     /// </summary>
33     public enum ColorMode
34     {
35         /// <summary>
36         /// Actor will use its own color.
37         /// </summary>
38         UseOwnColor,
39          /// <summary>
40         /// Actor will use its parent color.
41         /// </summary>
42         UseParentColor,
43         /// <summary>
44         /// Actor will blend its color with its parents color.
45         /// </summary>
46         UseOwnMultiplyParentColor,
47         /// <summary>
48         /// Actor will blend its alpha with its parents alpha. This means when parent fades in or out child does as well. This is the default.
49         /// </summary>
50         UseOwnMultiplyParentAlpha
51     }
52
53     /// <summary>
54     /// This specifies the dimesion of width or heigh for size negotiation.
55     /// </summary>
56     public enum DimensionType
57     {
58         /// <summary>
59         /// Width dimension
60         /// </summary>
61         Width = 0x1,
62         /// <summary>
63         /// Height dimension
64         /// </summary>
65         Height = 0x2,
66         /// <summary>
67         /// Mask to cover all flags
68         /// </summary>
69         AllDimensions = 0x3
70     }
71
72     /// <summary>
73     /// Enumeration for the instance of how the actor and it's children will be drawn.
74     /// </summary>
75     public enum DrawModeType
76     {
77         /// <summary>
78         /// The default draw-mode
79         /// </summary>
80         Normal = 0,
81         /// <summary>
82         /// Draw the actor and its children as an overlay
83         /// </summary>
84         Overlay2D = 1,
85         /// <summary>
86         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer
87         /// </summary>
88         Stencil = 3
89     }
90
91     /// <summary>
92     /// Enumeration for size negotiation resize policies.
93     /// </summary>
94     public enum ResizePolicyType
95     {
96         /// <summary>
97         /// Size is fixed as set by SetSize
98         /// </summary>
99         Fixed,
100         /// <summary>
101         /// Size is to use the actor's natural size
102         /// </summary>
103         /// <see cref="View.GetNaturalSize"/>
104         UseNaturalSize,
105         /// <summary>
106         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
107         /// </summary>
108         FillToParent,
109         /// <summary>
110         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
111         /// </summary>
112         SizeRelativeToParent,
113         /// <summary>
114         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
115         /// </summary>
116         SizeFixedOffsetFromParent,
117         /// <summary>
118         /// Size will adjust to wrap around all children
119         /// </summary>
120         FitToChildren,
121         /// <summary>
122         /// One dimension is dependent on the other
123         /// </summary>
124         DimensionDependency,
125         /// <summary>
126         /// The size will be assigned to the actor
127         /// </summary>
128         UseAssignedSize
129     }
130
131     /// <summary>
132     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
133     /// </summary>
134     public enum SizeScalePolicyType
135     {
136         /// <summary>
137         /// Use the size that was set
138         /// </summary>
139         UseSizeSet,
140         /// <summary>
141         /// Fit within the size set maintaining natural size aspect ratio
142         /// </summary>
143         FitWithAspectRatio,
144         /// <summary>
145         /// Fit within the size set maintaining natural size aspect ratio
146         /// </summary>
147         FillWithAspectRatio
148     }
149
150     /// <summary>
151     /// Enumeration for ClippingMode describing how this Actor's children will be clipped against it.
152     /// </summary>
153     public enum ClippingModeType
154     {
155         /// <summary>
156         /// This Actor will not clip its children.
157         /// </summary>
158         Disabled,
159         /// <summary>
160         /// This Actor will clip all children to within its boundaries (the actor will also be visible itself).
161         /// </summary>
162         ClipChildren
163     }
164
165     /// <summary>
166     /// Enumeration for type determination of how camera operates.
167     /// </summary>
168     public enum CameraType
169     {
170         /// <summary>
171         /// Camera orientation is taken from CameraActor.
172         /// </summary>
173         FreeLook,
174         /// <summary>
175         /// Camera is oriented to always look at a target.
176         /// </summary>
177         LookAtTarget
178     }
179
180     /// <summary>
181     /// Enumeration for projection modes.
182     /// </summary>
183     public enum ProjectionMode
184     {
185         /// <summary>
186         /// Distance causes foreshortening; objects further from the camera appear smaller.
187         /// </summary>
188         PerspectiveProjection,
189         /// <summary>
190         /// Relative distance from the camera does not affect the size of objects.
191         /// </summary>
192         OrthographicProjection
193     }
194
195     /// <summary>
196     /// This specifies ccustomView behaviour types.
197     /// </summary>
198     public enum CustomViewBehaviour
199     {
200         /// <summary>
201         /// Use to provide default behaviour (size negotiation is on, event callbacks are not called)
202         /// </summary>
203         ViewBehaviourDefault = 0,
204         /// <summary>
205         /// True if control does not need size negotiation, i.e. it can be skipped in the algorithm
206         /// </summary>
207         DisableSizeNegotiation = 1 << 0,
208         /// <summary>
209         /// Use to provide key navigation support.
210         /// </summary>
211         RequiresKeyboardNavigationSupport = 1 << 5,
212         /// <summary>
213         /// Use to make style change event disabled.
214         /// </summary>
215         DisableStyleChangeSignals = 1 << 6,
216         [EditorBrowsable(EditorBrowsableState.Never)]
217         LastViewBehaviourFlag
218     }
219
220     public enum DeviceClassType
221     {
222         None,
223         Seat,
224         Keyboard,
225         Mouse,
226         Touch,
227         Pen,
228         Pointer,
229         Gamepad
230     }
231
232     /// <summary>
233     /// This specifies all the property types. <br>
234     /// Enumeration for the property types supported.
235     /// </summary>
236     public enum PropertyType
237     {
238         /// <summary>
239         /// No type
240         /// </summary>
241         None,
242         /// <summary>
243         /// A boolean type
244         /// </summary>
245         Boolean,
246         /// <summary>
247         /// A float type
248         /// </summary>
249         Float,
250         /// <summary>
251         /// An integer type
252         /// </summary>
253         Integer,
254         /// <summary>
255         /// a vector array of size=2 with float precision
256         /// </summary>
257         Vector2,
258         /// <summary>
259         /// a vector array of size=3 with float precision
260         /// </summary>
261         Vector3,
262         /// <summary>
263         /// a vector array of size=4 with float precision
264         /// </summary>
265         Vector4,
266         /// <summary>
267         /// a 3x3 matrix
268         /// </summary>
269         Matrix3,
270         /// <summary>
271         /// a 4x4 matrix
272         /// </summary>
273         Matrix,
274         /// <summary>
275         /// an integer array of size=4
276         /// </summary>
277         Rectangle,
278         /// <summary>
279         /// either a quaternion or an axis angle rotation
280         /// </summary>
281         Rotation,
282         /// <summary>
283         /// A string type
284         /// </summary>
285         String,
286         /// <summary>
287         /// an array of PropertyValue
288         /// </summary>
289         Array,
290         /// <summary>
291         /// a string key to PropertyValue mapping
292         /// </summary>
293         Map
294     }
295
296     /// <summary>
297     /// This specifies the property access mode types. <br>
298     /// Enumeration for the access mode for custom properties.
299     /// </summary>
300     public enum PropertyAccessMode
301     {
302         /// <summary>
303         /// if the property is read-only
304         /// </summary>
305         ReadOnly,
306         /// <summary>
307         /// If the property is read/writeable
308         /// </summary>
309         ReadWrite,
310         /// <summary>
311         /// If the property can be animated or constrained
312         /// </summary>
313         Animatable,
314         /// <summary>
315         /// The number of access modes
316         /// </summary>
317         AccessModeCount
318     }
319
320     /// <summary>
321     /// Types of style change. Enumeration for StyleChange type.
322     /// </summary>
323     public enum StyleChangeType
324     {
325         /// <summary>
326         /// Denotes that the default font has changed.
327         /// </summary>
328         DefaultFontChange,
329         /// <summary>
330         /// Denotes that the default font size has changed.
331         /// </summary>
332         DefaultFontSizeChange,
333         /// <summary>
334         /// Denotes that the theme has changed.
335         /// </summary>
336         ThemeChange
337     }
338
339     /// <summary>
340     /// Enumeration for horizontal alignment types.
341     /// </summary>
342     public enum HorizontalAlignmentType
343     {
344         /// <summary>
345         /// Align horizontally left
346         /// </summary>
347         Left,
348         /// <summary>
349         /// Align horizontally center
350         /// </summary>
351         Center,
352         /// <summary>
353         /// Align horizontally right
354         /// </summary>
355         Right
356     }
357
358     /// <summary>
359     /// Enumeration for vertical alignment types.
360     /// </summary>
361     public enum VerticalAlignmentType
362     {
363         /// <summary>
364         /// Align vertically top
365         /// </summary>
366         Top,
367         /// <summary>
368         /// Align vertically center
369         /// </summary>
370         Center,
371         /// <summary>
372         /// Align vertically bottom
373         /// </summary>
374         Bottom
375     }
376
377     /// <summary>
378     /// Enumeration for point state type.
379     /// </summary>
380     public enum PointStateType
381     {
382         /// <summary>
383         /// Touch or hover started
384         /// </summary>
385         Started,
386         /// <summary>
387         /// Touch or hover finished
388         /// </summary>
389         Finished,
390         /// <summary>
391         /// Screen touched
392         /// </summary>
393         Down = Started,
394         /// <summary>
395         /// Touch stopped
396         /// </summary>
397         Up = Finished,
398         /// <summary>
399         /// Finger dragged or hovered
400         /// </summary>
401         Motion,
402         /// <summary>
403         /// Leave the boundary of an actor
404         /// </summary>
405         Leave,
406         /// <summary>
407         /// No change from last event. <br>
408         /// Useful when a multi-point event occurs where all points are sent but indicates that this particular point has not changed since the last time.
409         /// </summary>
410         Stationary,
411         /// <summary>
412         /// A system event has occurred which has interrupted the touch or hover event sequence.
413         /// </summary>
414         Interrupted
415     }
416
417     /// <summary>
418     /// Enumeration for the text horizontal aligning.
419     /// </summary>
420     public enum HorizontalAlignment
421     {
422         /// <summary>
423         /// Texts place at the begin of horizontal direction.
424         /// </summary>
425         Begin,
426         /// <summary>
427         /// Texts place at the center of horizontal direction.
428         /// </summary>
429         Center,
430         /// <summary>
431         /// Texts place at the end of horizontal direction.
432         /// </summary>
433         End
434     }
435
436     /// <summary>
437     /// Enumeration for the text horizontal aligning.
438     /// </summary>
439     public enum VerticalAlignment
440     {
441         /// <summary>
442         /// Texts place at the top of vertical direction.
443         /// </summary>
444         Top,
445         /// <summary>
446         /// Texts place at the center of vertical direction.
447         /// </summary>
448         Center,
449         /// <summary>
450         /// Texts place at the bottom of vertical direction.
451         /// </summary>
452         Bottom
453     }
454
455     /// <summary>
456     /// This specifies wrap mode types <br>
457     /// WrapModeU and WrapModeV separately decide how the texture should be sampled when the u and v coordinate exceeds the range of 0.0 to 1.0.
458     /// </summary>
459     public enum WrapModeType
460     {
461         /// <summary>
462         /// Defualt value
463         /// </summary>
464         Default = 0,
465         /// <summary>
466         /// Clamp to edge
467         /// </summary>
468         ClampToEdge,
469         /// <summary>
470         /// Repeat
471         /// </summary>
472         Repeat,
473         /// <summary>
474         /// Mirrored repeat
475         /// </summary>
476         MirroredRepeat
477     }
478
479     /// <summary>
480     /// The type of coordinate system for certain attributes of the points in a gradient.
481     /// </summary>
482     public enum GradientVisualUnitsType
483     {
484         /// <summary>
485         /// Uses the normals for the start, end & center points, i.e. top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
486         /// </summary>
487         ObjectBoundingBox,
488         /// <summary>
489         /// Uses the user coordinates for the start, end & center points, i.e. in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
490         /// </summary>
491         UserSpace
492     }
493
494     /// <summary>
495     /// This specifies SpreadMethod types.<br>
496     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br>
497     /// </summary>
498     public enum GradientVisualSpreadMethodType
499     {
500         /// <summary>
501         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
502         /// </summary>
503         Pad,
504         /// <summary>
505         /// Reflect the gradient pattern start-to-end, end-to-start, start-to-end etc. until the quad is filled.
506         /// </summary>
507         Reflect,
508         /// <summary>
509         /// Repeat the gradient pattern start-to-end, start-to-end, start-to-end etc. until the quad is filled.
510         /// </summary>
511         Repeat
512     }
513
514     /// <summary>
515     /// The shading mode used by MeshVisual.
516     /// </summary>
517     public enum MeshVisualShadingModeValue
518     {
519         /// <summary>
520         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
521         /// </summary>
522         TexturelessWithDiffuseLighting,
523         /// <summary>
524         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
525         /// </summary>
526         TexturedWithSpecularLighting,
527         /// <summary>
528         /// Uses all textures provided including a gloss, normal and texture map along with specular, ambient and diffuse lighting.
529         /// </summary>
530         TexturedWithDetailedSpecularLighting
531     }
532
533     /// <summary>
534     /// The primitive shape to render as a PrimitiveVisual.
535     /// </summary>
536     public enum PrimitiveVisualShapeType
537     {
538         /// <summary>
539         /// A perfectly round geometrical object in three-dimensional space.
540         /// </summary>
541         Sphere,
542         /// <summary>
543         /// The area bound between two circles, i.e. a cone with the tip removed.
544         /// </summary>
545         ConicalFrustrum,
546         /// <summary>
547         /// Equivalent to a conical frustrum with top radius of zero.
548         /// </summary>Equivalent to a conical frustrum with top radius of zero.
549         Cone,
550         /// <summary>
551         /// Equivalent to a conical frustrum with top radius of zero.
552         /// </summary>
553         Cylinder,
554         /// <summary>
555         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
556         /// </summary>
557         Cube,
558         /// <summary>
559         /// Equivalent to a bevelled cube with a bevel percentage of zero.
560         /// </summary>
561         Octahedron,
562         /// <summary>
563         /// Equivalent to a bevelled cube with a bevel percentage of one.
564         /// </summary>
565         BevelledCube
566     }
567
568     /// <summary>
569     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br>
570     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br>
571     /// All fitting modes preserve the aspect ratio of the image contents.<br>
572     /// </summary>
573     public enum FittingModeType
574     {
575         /// <summary>
576         /// Full-screen image display: Limit loaded image resolution to device resolution using ShrinkToFit mode.
577         /// </summary>
578         ShrinkToFit,
579         /// <summary>
580         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using ScaleToFill mode.
581         /// </summary>
582         ScaleToFill,
583         /// <summary>
584         /// Image columns: Limit loaded image resolution to column width using FitWidth mode.
585         /// </summary>
586         FitWidth,
587         /// <summary>
588         /// Image rows: Limit loaded image resolution to row height using FitHeight mode.
589         /// </summary>
590         FitHeight
591     }
592
593     /// <summary>
594     /// This specifies sampling mode types. Filtering options, used when resizing images to sample original pixels.<br>
595     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during a scaling.<br>
596     /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and FittingMode,<br>
597     /// but all other filter modes do if the desired dimensions are `<=` the raw dimensions of the input image file.<br>
598     /// </summary>
599     public enum SamplingModeType
600     {
601         /// <summary>
602         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc width and height and approximately the desired size. <br>
603         /// This is the default.
604         /// </summary>
605         Box,
606         /// <summary>
607         /// For each output pixel, read one input pixel.
608         /// </summary>
609         Nearest,
610         /// <summary>
611         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
612         /// </summary>
613         Linear,
614         /// <summary>
615         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8 etc width and height and approximately the desired size, <br>
616         /// then for each output pixel, read one pixel from the last level of box filtering.<br>
617         /// </summary>
618         BoxThenNearest,
619         /// <summary>
620         /// Iteratively box filter to almost the right size, then for each output pixel, read four pixels from the last level of box filtering and write their weighted average.
621         /// </summary>
622         BoxThenLinear,
623         /// <summary>
624         /// No filtering is performed. If the SCALE_TO_FILL scaling mode is enabled, the borders of the image may be trimmed to match the aspect ratio of the desired dimensions.
625         /// </summary>
626         NoFilter,
627         /// <summary>
628         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
629         /// </summary>
630         DontCare
631     }
632
633     /// <summary>
634     /// This specifies policy types that could be used by the transform for the offset or size.
635     /// </summary>
636     public enum VisualTransformPolicyType
637     {
638         /// <summary>
639         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
640         /// </summary>
641         Relative = 0,
642         /// <summary>
643         /// Absolute value in world units.
644         /// </summary>
645         Absolute = 1
646     }
647
648     /// <summary>
649     /// This specifies all the transform property types.
650     /// </summary>
651     public enum VisualTransformPropertyType
652     {
653         /// <summary>
654         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
655         /// </summary>
656         Offset,
657         /// <summary>
658         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
659         /// </summary>
660         Size,
661         /// <summary>
662         /// The origin of the visual within its control area.
663         /// </summary>
664         Origin,
665         /// <summary>
666         /// The anchor-point of the visual
667         /// </summary>
668         AnchorPoint,
669         /// <summary>
670         /// Whether the x or y OFFSET values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
671         /// </summary>
672         OffsetPolicy,
673         /// <summary>
674         /// Whether the width or height SIZE values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
675         /// </summary>
676         SizePolicy
677     }
678
679     /// <summary>
680     /// This specifies visual types.
681     /// </summary>
682     public struct Visual
683     {
684         /// <summary>
685         /// The index for the visual type.
686         /// </summary>
687         public enum Type
688         {
689             /// <summary>
690             /// Renders a solid color as an internal border to the control's quad.
691             /// </summary>
692             Border,
693             /// <summary>
694             /// Renders a solid color to the control's quad.
695             /// </summary>
696             Color,
697             /// <summary>
698             /// Renders a smooth transition of colors to the control's quad.
699             /// </summary>
700             Gradient,
701             /// <summary>
702             /// Renders an image into the control's quad.
703             /// </summary>
704             Image,
705             /// <summary>
706             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
707             /// </summary>
708             Mesh,
709             /// <summary>
710             /// Renders a simple 3D shape, such as a cube or sphere.
711             /// </summary>
712             Primitive,
713             /// <summary>
714             /// Renders a simple wire-frame outlining a quad.
715             /// </summary>
716             Wireframe,
717             /// <summary>
718             /// Renders text.
719             /// </summary>
720             Text,
721             /// <summary>
722             /// Renders an n-patch image.
723             /// </summary>
724             NPatch,
725             /// <summary>
726             /// Renders an SVG image.
727             /// </summary>
728             SVG,
729             /// <summary>
730             /// Renders a animated image. (Animated GIF)
731             /// </summary>
732             AnimatedImage
733         }
734
735         /// <summary>
736         /// This specifies visual properties.
737         /// </summary>
738         public struct Property
739         {
740             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
741             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
742             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
743             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
744             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
745             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
746         }
747
748         /// <summary>
749         /// This specifies shader properties.
750         /// </summary>
751         public struct ShaderProperty
752         {
753             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
754             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
755             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
756             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
757             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
758         }
759
760         /// <summary>
761         /// This specifies Visaul align types.
762         /// </summary>
763         public enum AlignType
764         {
765             TopBegin = 0,
766             TopCenter,
767             TopEnd,
768             CenterBegin,
769             Center,
770             CenterEnd,
771             BottomBegin,
772             BottomCenter,
773             BottomEnd
774         }
775     }
776
777     /// <summary>
778     /// This specifies properties of BorderVisual.
779     /// </summary>
780     public struct BorderVisualProperty
781     {
782         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
783         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
784         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
785     }
786
787     /// <summary>
788     /// This specifies properties of ColorVisual.
789     /// </summary>
790     public struct ColorVisualProperty
791     {
792         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
793     }
794
795     /// <summary>
796     /// This specifies properties of GradientVisual.
797     /// </summary>
798     public struct GradientVisualProperty
799     {
800         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
801         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
802         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
803         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
804         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
805         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
806         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
807         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
808     }
809
810     /// <summary>
811     /// This specifies properties of ImageVisual.
812     /// </summary>
813     public struct ImageVisualProperty
814     {
815         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
816         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
817         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
818         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
819         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
820         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
821         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
822         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
823         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
824         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
825         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
826         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
827     }
828
829     /// <summary>
830     /// This specifies properties of MeshVisual.
831     /// </summary>
832     public struct MeshVisualProperty
833     {
834         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
835         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
836         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
837         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
838         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
839         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
840         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
841     }
842
843     /// <summary>
844     /// This specifies properties of PrimitiveVisual.
845     /// </summary>
846     public struct PrimitiveVisualProperty
847     {
848         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
849         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
850         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
851         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
852         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
853         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
854         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
855         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
856         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
857         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
858         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
859         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
860     }
861
862     /// <summary>
863     /// This specifies properties of TextVisual.
864     /// </summary>
865     public struct TextVisualProperty
866     {
867         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
868         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
869         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
870         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
871         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
872         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
873         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
874         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
875         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
876     }
877
878     /// <summary>
879     /// This specifies properties of NpatchImageVisual.
880     /// </summary>
881     public struct NpatchImageVisualProperty
882     {
883         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
884         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
885         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
886         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
887         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
888         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
889         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
890         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
891         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
892         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
893         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
894     }
895
896     /// <summary>
897     /// HiddenInput Property.
898     /// </summary>
899     public struct HiddenInputProperty
900     {
901         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
902         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
903         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
904         public static readonly int ShowDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_DURATION_get();
905     }
906
907     /// <summary>
908     /// The type for HiddenInput mode.
909     /// </summary>
910     public enum HiddenInputModeType
911     {
912         /// <summary>
913         /// Don't hide text.
914         /// </summary>
915         HideNone,
916         /// <summary>
917         /// Hide all the input text.
918         /// </summary>
919         HideAll,
920         /// <summary>
921         /// Hide n characters from start.
922         /// </summary>
923         HideCount,
924         /// <summary>
925         /// Show n characters from start.
926         /// </summary>
927         ShowCount,
928         /// <summary>
929         /// Show last character for the duration(use ShowDuration property to modify duration).
930         /// </summary>
931         ShowLastCharacter
932     }
933
934     /// <summary>
935     /// ParentOrigin constants.
936     /// </summary>
937     public struct ParentOrigin
938     {
939         public static float Top
940         {
941             get
942             {
943                 float ret = NDalicPINVOKE.ParentOriginTop_get();
944                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
945                 return ret;
946             }
947         }
948         public static float Bottom
949         {
950             get
951             {
952                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
953                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
954                 return ret;
955             }
956         }
957         public static float Left
958         {
959             get
960             {
961                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
962                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
963                 return ret;
964             }
965         }
966         public static float Right
967         {
968             get
969             {
970                 float ret = NDalicPINVOKE.ParentOriginRight_get();
971                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
972                 return ret;
973             }
974         }
975         public static float Middle
976         {
977             get
978             {
979                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
980                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
981                 return ret;
982             }
983         }
984         public static Position TopLeft
985         {
986             get
987             {
988                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
989                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
990                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
991                 return ret;
992             }
993         }
994         public static Position TopCenter
995         {
996             get
997             {
998                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
999                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1000                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1001                 return ret;
1002             }
1003         }
1004         public static Position TopRight
1005         {
1006             get
1007             {
1008                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1009                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1010                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1011                 return ret;
1012             }
1013         }
1014         public static Position CenterLeft
1015         {
1016             get
1017             {
1018                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1019                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1020                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1021                 return ret;
1022             }
1023         }
1024         public static Position Center
1025         {
1026             get
1027             {
1028                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1029                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1030                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1031                 return ret;
1032             }
1033         }
1034         public static Position CenterRight
1035         {
1036             get
1037             {
1038                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1039                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1040                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1041                 return ret;
1042             }
1043         }
1044         public static Position BottomLeft
1045         {
1046             get
1047             {
1048                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1049                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1050                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1051                 return ret;
1052             }
1053         }
1054         public static Position BottomCenter
1055         {
1056             get
1057             {
1058                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1059                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1060                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1061                 return ret;
1062             }
1063         }
1064         public static Position BottomRight
1065         {
1066             get
1067             {
1068                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1069                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1070                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1071                 return ret;
1072             }
1073         }
1074     }
1075
1076     /// <summary>
1077     /// PivotPoint constants.
1078     /// </summary>
1079     public struct PivotPoint
1080     {
1081         public static float Top
1082         {
1083             get
1084             {
1085                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1086                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1087                 return ret;
1088             }
1089         }
1090         public static float Bottom
1091         {
1092             get
1093             {
1094                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1095                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1096                 return ret;
1097             }
1098         }
1099         public static float Left
1100         {
1101             get
1102             {
1103                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1104                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1105                 return ret;
1106             }
1107         }
1108         public static float Right
1109         {
1110             get
1111             {
1112                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1113                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1114                 return ret;
1115             }
1116         }
1117         public static float Middle
1118         {
1119             get
1120             {
1121                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1122                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1123                 return ret;
1124             }
1125         }
1126         public static Position TopLeft
1127         {
1128             get
1129             {
1130                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1131                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1132                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1133                 return ret;
1134             }
1135         }
1136         public static Position TopCenter
1137         {
1138             get
1139             {
1140                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1141                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1142                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1143                 return ret;
1144             }
1145         }
1146         public static Position TopRight
1147         {
1148             get
1149             {
1150                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1151                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1152                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1153                 return ret;
1154             }
1155         }
1156         public static Position CenterLeft
1157         {
1158             get
1159             {
1160                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1161                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1162                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1163                 return ret;
1164             }
1165         }
1166         public static Position Center
1167         {
1168             get
1169             {
1170                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1171                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1172                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1173                 return ret;
1174             }
1175         }
1176         public static Position CenterRight
1177         {
1178             get
1179             {
1180                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1181                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1182                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1183                 return ret;
1184             }
1185         }
1186         public static Position BottomLeft
1187         {
1188             get
1189             {
1190                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1191                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1192                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1193                 return ret;
1194             }
1195         }
1196         public static Position BottomCenter
1197         {
1198             get
1199             {
1200                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1201                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1202                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1203                 return ret;
1204             }
1205         }
1206         public static Position BottomRight
1207         {
1208             get
1209             {
1210                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1211                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1212                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1213                 return ret;
1214             }
1215         }
1216     }
1217     /// <summary>
1218     /// PositionAxis constants.
1219     /// </summary>
1220     public struct PositionAxis
1221     {
1222         public static Position X
1223         {
1224             get
1225             {
1226                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1227                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1228                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1229                 return ret;
1230             }
1231         }
1232         public static Position Y
1233         {
1234             get
1235             {
1236                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1237                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1238                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1239                 return ret;
1240             }
1241         }
1242         public static Position Z
1243         {
1244             get
1245             {
1246                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1247                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1248                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1249                 return ret;
1250             }
1251         }
1252         public static Position NegativeX
1253         {
1254             get
1255             {
1256                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1257                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1258                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1259                 return ret;
1260             }
1261         }
1262         public static Position NegativeY
1263         {
1264             get
1265             {
1266                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1267                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1268                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1269                 return ret;
1270             }
1271         }
1272         public static Position NegativeZ
1273         {
1274             get
1275             {
1276                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1277                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1278                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1279                 return ret;
1280             }
1281         }
1282     }
1283
1284     /// <summary>
1285     /// Auto scrolling stop behaviour.
1286     /// </summary>
1287     public enum AutoScrollStopMode
1288     {
1289         /// <summary>
1290         /// Stop animation after current loop finished.
1291         /// </summary>
1292         FinishLoop,
1293         /// <summary>
1294         /// Stop animation immediatly and reset position.
1295         /// </summary>
1296         Immediate
1297     }
1298
1299     /// <summary>
1300     /// An enum of screen mode.
1301     /// </summary>
1302     public enum ScreenMode {
1303         /// <summary>
1304         /// The mode which turns the screen off after a timeout.
1305         /// </summary>
1306         Default,
1307         /// <summary>
1308         /// The mode which keeps the screen turned on.
1309         /// </summary>
1310         AlwaysOn
1311     }
1312
1313     /// <summary>
1314     /// An enum of notification window's priority level.
1315     /// </summary>
1316     public enum NotificationLevel {
1317         /// <summary>
1318         /// No notification level.<br>
1319         /// Default level.<br>
1320         /// This value makes the notification window place in the layer of the normal window.
1321         /// </summary>
1322         None = -1,
1323         /// <summary>
1324         /// Base nofitication level.
1325         /// </summary>
1326         Base = 10,
1327         /// <summary>
1328         /// Medium notification level than base.
1329         /// </summary>
1330         Medium = 20,
1331         /// <summary>
1332         /// Higher notification level than medium.
1333         /// </summary>
1334         High = 30,
1335         /// <summary>
1336         /// The highest notification level.
1337         /// </summary>
1338         Top = 40
1339     }
1340
1341     /// <summary>
1342     /// An enum of Window types.
1343     /// </summary>
1344     public enum WindowType {
1345         /// <summary>
1346         /// A default window type.<br>
1347         /// Indicates a normal, top-level window.
1348         /// Almost every window will be created with this type.
1349         /// </summary>
1350         Normal,
1351         /// <summary>
1352         /// A notification window, like a warning about battery life or a new E-Mail received.
1353         /// </summary>
1354         Notification,
1355         /// <summary>
1356         /// A persistent utility window, like a toolbox or palette.
1357         /// </summary>
1358         Utility,
1359         /// <summary>
1360         /// Used for simple dialog windows.
1361         /// </summary>
1362         Dialog
1363     }
1364
1365     public enum DisposeTypes
1366     {
1367         Explicit,   //Called By User
1368         Implicit,   //Called by DisposeQueue
1369     }
1370
1371
1372
1373
1374     [Obsolete("Please do not use! this will be deprecated")]
1375     public struct AnchorPoint
1376     {
1377         public static float Top
1378         {
1379             get
1380             {
1381                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1382                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1383                 return ret;
1384             }
1385         }
1386         public static float Bottom
1387         {
1388             get
1389             {
1390                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1391                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1392                 return ret;
1393             }
1394         }
1395         public static float Left
1396         {
1397             get
1398             {
1399                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1400                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1401                 return ret;
1402             }
1403         }
1404         public static float Right
1405         {
1406             get
1407             {
1408                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1409                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1410                 return ret;
1411             }
1412         }
1413         public static float Middle
1414         {
1415             get
1416             {
1417                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1418                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1419                 return ret;
1420             }
1421         }
1422         public static Position TopLeft
1423         {
1424             get
1425             {
1426                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1427                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1428                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1429                 return ret;
1430             }
1431         }
1432         public static Position TopCenter
1433         {
1434             get
1435             {
1436                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1437                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1438                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1439                 return ret;
1440             }
1441         }
1442         public static Position TopRight
1443         {
1444             get
1445             {
1446                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1447                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1448                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1449                 return ret;
1450             }
1451         }
1452         public static Position CenterLeft
1453         {
1454             get
1455             {
1456                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1457                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1458                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1459                 return ret;
1460             }
1461         }
1462         public static Position Center
1463         {
1464             get
1465             {
1466                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1467                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1468                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1469                 return ret;
1470             }
1471         }
1472         public static Position CenterRight
1473         {
1474             get
1475             {
1476                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1477                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1478                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1479                 return ret;
1480             }
1481         }
1482         public static Position BottomLeft
1483         {
1484             get
1485             {
1486                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1487                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1488                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1489                 return ret;
1490             }
1491         }
1492         public static Position BottomCenter
1493         {
1494             get
1495             {
1496                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1497                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1498                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1499                 return ret;
1500             }
1501         }
1502         public static Position BottomRight
1503         {
1504             get
1505             {
1506                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1507                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1508                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1509                 return ret;
1510             }
1511         }
1512     }
1513
1514     /// <summary>
1515     /// An enum of scroll state of text eidtor.
1516     /// </summary>
1517     public enum ScrollState
1518     {
1519         /// <summary>
1520         /// Scrolling is started.
1521         /// </summary>
1522         Started,
1523
1524         /// <summary>
1525         /// Scrolling is finished.
1526         /// </summary>
1527         Finished
1528     }
1529
1530      /// <summary>
1531     /// An enum of line wrap mode of text controls.
1532     /// </summary>
1533     public enum LineWrapMode
1534     {
1535         /// <summary>
1536         /// Word mode will move word to next line
1537         /// </summary>
1538         Word,
1539
1540         /// <summary>
1541         /// character will move character by character to next line
1542         /// </summary>
1543         Character
1544     }
1545
1546 }