Merge changes Iefa8b7a8,I78d7a9d1
[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     /// <summary>
21     /// This specifies all the scroll mode type.
22     /// </summary>
23     /// <since_tizen> 3 </since_tizen>
24     public enum ScrollModeType
25     {
26         /// <summary>
27         /// Whether the content can be scrolled along the X axis or not.
28         /// </summary>
29         /// <since_tizen> 3 </since_tizen>
30         XAxisScrollEnabled,
31         /// <summary>
32         /// When set, causes scroll view to snap to multiples of the
33         /// value of the interval while flicking along the X axis.
34         /// </summary>
35         /// <since_tizen> 3 </since_tizen>
36         XAxisSnapToInterval,
37         /// <summary>
38         /// When set, the scroll view is unable to scroll beyond the
39         /// value of the boundary along the X axis.
40         /// </summary>
41         /// <since_tizen> 3 </since_tizen>
42         XAxisScrollBoundary,
43         /// <summary>
44         /// Whether the content can be scrolled along the Y axis or not.
45         /// </summary>
46         /// <since_tizen> 3 </since_tizen>
47         YAxisScrollEnabled,
48         /// <summary>
49         /// When set, causes scroll view to snap to multiples of the
50         /// value of the interval while flicking along the Y axis.
51         /// </summary>
52         /// <since_tizen> 3 </since_tizen>
53         YAxisSnapToInterval,
54         /// <summary>
55         /// When set, the scroll view is unable to scroll beyond the
56         /// value of the boundary along the Y axis.
57         /// </summary>
58         /// <since_tizen> 3 </since_tizen>
59         YAxisScrollBoundary
60     }
61
62     /// <summary>
63     /// This specifies whether the actor uses its own color or inherits.
64     /// </summary>
65     /// <since_tizen> 3 </since_tizen>
66     public enum ColorMode
67     {
68         /// <summary>
69         /// Actor will use its own color.
70         /// </summary>
71         UseOwnColor,
72          /// <summary>
73         /// Actor will use its parent color.
74         /// </summary>
75         UseParentColor,
76         /// <summary>
77         /// Actor will blend its color with its parents color.
78         /// </summary>
79         UseOwnMultiplyParentColor,
80         /// <summary>
81         /// Actor will blend its alpha with its parents alpha. This means when the parent fades in or out, the child does as well. This is the default.
82         /// </summary>
83         UseOwnMultiplyParentAlpha
84     }
85
86     /// <summary>
87     /// This specifies the dimension of the width or the height for size negotiation.
88     /// </summary>
89     /// <since_tizen> 3 </since_tizen>
90     public enum DimensionType
91     {
92         /// <summary>
93         /// Width dimension.
94         /// </summary>
95         Width = 0x1,
96         /// <summary>
97         /// Height dimension.
98         /// </summary>
99         Height = 0x2,
100         /// <summary>
101         /// Mask to cover all flags.
102         /// </summary>
103         AllDimensions = 0x3
104     }
105
106     /// <summary>
107     /// Enumeration for the instance of how the actor and it's children will be drawn.
108     /// </summary>
109     /// <since_tizen> 3 </since_tizen>
110     public enum DrawModeType
111     {
112         /// <summary>
113         /// The default draw-mode.
114         /// </summary>
115         Normal = 0,
116         /// <summary>
117         /// Draw the actor and its children as an overlay.
118         /// </summary>
119         Overlay2D = 1,
120         /// <summary>
121         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
122         /// </summary>
123         Stencil = 3
124     }
125
126     /// <summary>
127     /// Enumeration for size negotiation resize policies.
128     /// </summary>
129     /// <since_tizen> 3 </since_tizen>
130     public enum ResizePolicyType
131     {
132         /// <summary>
133         /// Size is fixed as set by SetSize.
134         /// </summary>
135         Fixed,
136         /// <summary>
137         /// Size is to use the actor's natural size.
138         /// </summary>
139         /// <see cref="ViewImpl.GetNaturalSize"/>
140         UseNaturalSize,
141         /// <summary>
142         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
143         /// </summary>
144         FillToParent,
145         /// <summary>
146         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
147         /// </summary>
148         SizeRelativeToParent,
149         /// <summary>
150         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
151         /// </summary>
152         SizeFixedOffsetFromParent,
153         /// <summary>
154         /// The size will adjust to wrap around all children.
155         /// </summary>
156         FitToChildren,
157         /// <summary>
158         /// One dimension is dependent on the other.
159         /// </summary>
160         DimensionDependency,
161         /// <summary>
162         /// The size will be assigned to the actor.
163         /// </summary>
164         UseAssignedSize
165     }
166
167     /// <summary>
168     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
169     /// </summary>
170     /// <since_tizen> 3 </since_tizen>
171     public enum SizeScalePolicyType
172     {
173         /// <summary>
174         /// Use the size that was set.
175         /// </summary>
176         UseSizeSet,
177         /// <summary>
178         /// Fit within the size set maintaining natural size aspect ratio.
179         /// </summary>
180         FitWithAspectRatio,
181         /// <summary>
182         /// Fit within the size set maintaining natural size aspect ratio.
183         /// </summary>
184         FillWithAspectRatio
185     }
186
187     /// <summary>
188     /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
189     /// </summary>
190     /// <since_tizen> 3 </since_tizen>
191     public enum ClippingModeType
192     {
193         /// <summary>
194         /// This actor will not clip its children.
195         /// </summary>
196         Disabled,
197         /// <summary>
198         /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
199         /// </summary>
200         ClipChildren,
201         /// <summary>
202         /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
203         /// </summary>
204         ClipToBoundingBox
205     }
206
207     /// <summary>
208     /// Enumeration for type determination of how the camera operates.
209     /// </summary>
210     /// <since_tizen> 3 </since_tizen>
211     public enum CameraType
212     {
213         /// <summary>
214         /// Camera orientation is taken from the CameraActor.
215         /// </summary>
216         FreeLook,
217         /// <summary>
218         /// Camera is oriented to always look at a target.
219         /// </summary>
220         LookAtTarget
221     }
222
223     /// <summary>
224     /// Enumeration for the projection modes.
225     /// </summary>
226     /// <since_tizen> 3 </since_tizen>
227     public enum ProjectionMode
228     {
229         /// <summary>
230         /// Distance causes foreshortening; objects further from the camera appear smaller.
231         /// </summary>
232         PerspectiveProjection,
233         /// <summary>
234         /// Relative distance from the camera does not affect the size of objects.
235         /// </summary>
236         OrthographicProjection
237     }
238
239     /// <summary>
240     /// This specifies customView behavior types.
241     /// </summary>
242     /// <since_tizen> 3 </since_tizen>
243     public enum CustomViewBehaviour
244     {
245         /// <summary>
246         /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
247         /// </summary>
248         ViewBehaviourDefault = 0,
249         /// <summary>
250         /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
251         /// </summary>
252         DisableSizeNegotiation = 1 << 0,
253         /// <summary>
254         /// Use to provide key navigation support.
255         /// </summary>
256         RequiresKeyboardNavigationSupport = 1 << 5,
257         /// <summary>
258         /// Use to make style change event disabled.
259         /// </summary>
260         DisableStyleChangeSignals = 1 << 6,
261         /// <summary>
262         /// [EditorBrowsable(EditorBrowsableState.Never)]
263         /// </summary>
264         /// <since_tizen> 3 </since_tizen>
265         [EditorBrowsable(EditorBrowsableState.Never)]
266         LastViewBehaviourFlag
267     }
268
269     /// <summary>
270     /// An enum of Device Class types.
271     /// </summary>
272     /// <since_tizen> 3 </since_tizen>
273     public enum DeviceClassType
274     {
275         /// <summary>
276         /// Not a device.
277         /// </summary>
278         /// <since_tizen> 3 </since_tizen>
279         None,
280         /// <summary>
281         /// The user/seat (the user themselves).
282         /// </summary>
283         /// <since_tizen> 3 </since_tizen>
284         Seat,
285         /// <summary>
286         /// A regular keyboard, numberpad or attached buttons.
287         /// </summary>
288         /// <since_tizen> 3 </since_tizen>
289         Keyboard,
290         /// <summary>
291         /// A mouse, trackball or touchpad relative motion device.
292         /// </summary>
293         /// <since_tizen> 3 </since_tizen>
294         Mouse,
295         /// <summary>
296         /// A touchscreen with fingers or stylus.
297         /// </summary>
298         /// <since_tizen> 3 </since_tizen>
299         Touch,
300         /// <summary>
301         /// A special pen device.
302         /// </summary>
303         /// <since_tizen> 3 </since_tizen>
304         Pen,
305         /// <summary>
306         ///  A pointing device based on laser, infrared or similar technology.
307         /// </summary>
308         /// <since_tizen> 3 </since_tizen>
309         Pointer,
310         /// <summary>
311         /// A gamepad controller or joystick.
312         /// </summary>
313         /// <since_tizen> 3 </since_tizen>
314         Gamepad
315     }
316
317     /// <summary>
318     /// An enum of Device Subclass types.
319     /// </summary>
320     /// <since_tizen> 4 </since_tizen>
321     public enum DeviceSubClassType
322     {
323         /// <summary>
324         /// Not a device
325         /// </summary>
326         None,
327         /// <summary>
328         /// The normal flat of your finger
329         /// </summary>
330         Finger,
331         /// <summary>
332         /// A fingernail
333         /// </summary>
334         Fingernail,
335         /// <summary>
336         /// A Knuckle
337         /// </summary>
338         Knuckle,
339         /// <summary>
340         /// The palm of a users hand
341         /// </summary>
342         Palm,
343         /// <summary>
344         /// The side of your hand
345         /// </summary>
346         HandSide,
347         /// <summary>
348         /// The flat of your hand
349         /// </summary>
350         HandFlat,
351         /// <summary>
352         /// The tip of a pen
353         /// </summary>
354         PenTip,
355         /// <summary>
356         /// A trackpad style mouse
357         /// </summary>
358         Trackpad,
359         /// <summary>
360         /// A trackpoint style mouse
361         /// </summary>
362         Trackpoint,
363         /// <summary>
364         /// A trackball style mouse
365         /// </summary>
366         Trackball,
367         /// <summary>
368         /// A remote controller
369         /// </summary>
370         Remocon,
371         /// <summary>
372         /// A virtual keyboard
373         /// </summary>
374         VirtualKeyboard
375     }
376
377     /// <summary>
378     /// This specifies all the property types.<br />
379     /// Enumeration for the property types supported.
380     /// </summary>
381     /// <since_tizen> 3 </since_tizen>
382     public enum PropertyType
383     {
384         /// <summary>
385         /// No type.
386         /// </summary>
387         None,
388         /// <summary>
389         /// A boolean type.
390         /// </summary>
391         Boolean,
392         /// <summary>
393         /// A float type.
394         /// </summary>
395         Float,
396         /// <summary>
397         /// An integer type.
398         /// </summary>
399         Integer,
400         /// <summary>
401         /// A vector array of size=2 with float precision.
402         /// </summary>
403         Vector2,
404         /// <summary>
405         /// A vector array of size=3 with float precision.
406         /// </summary>
407         Vector3,
408         /// <summary>
409         /// A vector array of size=4 with float precision.
410         /// </summary>
411         Vector4,
412         /// <summary>
413         /// A 3x3 matrix.
414         /// </summary>
415         Matrix3,
416         /// <summary>
417         /// A 4x4 matrix.
418         /// </summary>
419         Matrix,
420         /// <summary>
421         /// An integer array of size=4.
422         /// </summary>
423         Rectangle,
424         /// <summary>
425         /// Either a quaternion or an axis angle rotation.
426         /// </summary>
427         Rotation,
428         /// <summary>
429         /// A string type.
430         /// </summary>
431         String,
432         /// <summary>
433         /// An array of PropertyValue.
434         /// </summary>
435         Array,
436         /// <summary>
437         /// A string key to PropertyValue mapping.
438         /// </summary>
439         Map
440     }
441
442     /// <summary>
443     /// This specifies the property access mode types.<br />
444     /// Enumeration for the access mode for custom properties.
445     /// </summary>
446     /// <since_tizen> 3 </since_tizen>
447     public enum PropertyAccessMode
448     {
449         /// <summary>
450         /// If the property is read-only.
451         /// </summary>
452         ReadOnly,
453         /// <summary>
454         /// If the property is read or writeable.
455         /// </summary>
456         ReadWrite,
457         /// <summary>
458         /// If the property can be animated or constrained.
459         /// </summary>
460         Animatable,
461         /// <summary>
462         /// The number of access modes.
463         /// </summary>
464         AccessModeCount
465     }
466
467     /// <summary>
468     /// Types of style change. Enumeration for the StyleChange type.
469     /// </summary>
470     /// <since_tizen> 3 </since_tizen>
471     public enum StyleChangeType
472     {
473         /// <summary>
474         /// Denotes that the default font has changed.
475         /// </summary>
476         DefaultFontChange,
477         /// <summary>
478         /// Denotes that the default font size has changed.
479         /// </summary>
480         DefaultFontSizeChange,
481         /// <summary>
482         /// Denotes that the theme has changed.
483         /// </summary>
484         ThemeChange
485     }
486
487     /// <summary>
488     /// Enumeration for horizontal alignment types.
489     /// </summary>
490     /// <since_tizen> 3 </since_tizen>
491     public enum HorizontalAlignmentType
492     {
493         /// <summary>
494         /// Align horizontally left.
495         /// </summary>
496         Left,
497         /// <summary>
498         /// Align horizontally center.
499         /// </summary>
500         Center,
501         /// <summary>
502         /// Align horizontally right.
503         /// </summary>
504         Right
505     }
506
507     /// <summary>
508     /// Enumeration for vertical alignment types.
509     /// </summary>
510     /// <since_tizen> 3 </since_tizen>
511     public enum VerticalAlignmentType
512     {
513         /// <summary>
514         /// Align vertically top.
515         /// </summary>
516         Top,
517         /// <summary>
518         /// Align vertically center.
519         /// </summary>
520         Center,
521         /// <summary>
522         /// Align vertically bottom.
523         /// </summary>
524         Bottom
525     }
526
527     /// <summary>
528     /// Enumeration for point state type.
529     /// </summary>
530     /// <since_tizen> 3 </since_tizen>
531     public enum PointStateType
532     {
533         /// <summary>
534         /// Touch or hover started.
535         /// </summary>
536         Started,
537         /// <summary>
538         /// Touch or hover finished.
539         /// </summary>
540         Finished,
541         /// <summary>
542         /// Screen touched.
543         /// </summary>
544         Down = Started,
545         /// <summary>
546         /// Touch stopped.
547         /// </summary>
548         Up = Finished,
549         /// <summary>
550         /// Finger dragged or hovered.
551         /// </summary>
552         Motion,
553         /// <summary>
554         /// Leave the boundary of an actor.
555         /// </summary>
556         Leave,
557         /// <summary>
558         /// No change from last event. <br />
559         /// 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.
560         /// </summary>
561         Stationary,
562         /// <summary>
563         /// A system event has occurred which has interrupted the touch or hover event sequence.
564         /// </summary>
565         Interrupted
566     }
567
568     /// <summary>
569     /// Enumeration for the text horizontal aligning.
570     /// </summary>
571     /// <since_tizen> 3 </since_tizen>
572     public enum HorizontalAlignment
573     {
574         /// <summary>
575         /// Texts place at the begin of horizontal direction.
576         /// </summary>
577         Begin,
578         /// <summary>
579         /// Texts place at the center of horizontal direction.
580         /// </summary>
581         Center,
582         /// <summary>
583         /// Texts place at the end of horizontal direction.
584         /// </summary>
585         End
586     }
587
588     /// <summary>
589     /// Enumeration for the text horizontal aligning.
590     /// </summary>
591     /// <since_tizen> 3 </since_tizen>
592     public enum VerticalAlignment
593     {
594         /// <summary>
595         /// Texts place at the top of vertical direction.
596         /// </summary>
597         Top,
598         /// <summary>
599         /// Texts place at the center of vertical direction.
600         /// </summary>
601         Center,
602         /// <summary>
603         /// Texts place at the bottom of vertical direction.
604         /// </summary>
605         Bottom
606     }
607
608     /// <summary>
609     /// This specifies wrap mode types.<br />
610     /// 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.
611     /// </summary>
612     /// <since_tizen> 3 </since_tizen>
613     public enum WrapModeType
614     {
615         /// <summary>
616         /// The default value.
617         /// </summary>
618         Default = 0,
619         /// <summary>
620         /// Clamp to edge.
621         /// </summary>
622         ClampToEdge,
623         /// <summary>
624         /// Repeat.
625         /// </summary>
626         Repeat,
627         /// <summary>
628         /// Mirrored repeat.
629         /// </summary>
630         MirroredRepeat
631     }
632
633     /// <summary>
634     /// The type of coordinate system for certain attributes of the points in a gradient.
635     /// </summary>
636     /// <since_tizen> 3 </since_tizen>
637     public enum GradientVisualUnitsType
638     {
639         /// <summary>
640         /// Uses the normals for the start, end, and center points, i.e., top-left is (-0.5, -0.5) and bottom-right is (0.5, 0.5).
641         /// </summary>
642         ObjectBoundingBox,
643         /// <summary>
644         /// Uses the user coordinates for the start, end, and center points, i.e., in a 200 by 200 control, top-left is (0, 0) and bottom-right is (200, 200).
645         /// </summary>
646         UserSpace
647     }
648
649     /// <summary>
650     /// This specifies SpreadMethod types.<br />
651     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
652     /// </summary>
653     /// <since_tizen> 3 </since_tizen>
654     public enum GradientVisualSpreadMethodType
655     {
656         /// <summary>
657         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
658         /// </summary>
659         Pad,
660         /// <summary>
661         /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
662         /// </summary>
663         Reflect,
664         /// <summary>
665         /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
666         /// </summary>
667         Repeat
668     }
669
670     /// <summary>
671     /// The shading mode used by the mesh visual.
672     /// </summary>
673     /// <since_tizen> 3 </since_tizen>
674     public enum MeshVisualShadingModeValue
675     {
676         /// <summary>
677         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
678         /// </summary>
679         TexturelessWithDiffuseLighting,
680         /// <summary>
681         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
682         /// </summary>
683         TexturedWithSpecularLighting,
684         /// <summary>
685         /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
686         /// </summary>
687         TexturedWithDetailedSpecularLighting
688     }
689
690     /// <summary>
691     /// The primitive shape to render as a primitive visual.
692     /// </summary>
693     /// <since_tizen> 3 </since_tizen>
694     public enum PrimitiveVisualShapeType
695     {
696         /// <summary>
697         /// A perfectly round geometrical object in the three-dimensional space.
698         /// </summary>
699         Sphere,
700         /// <summary>
701         /// The area bound between two circles, i.e., a cone with the tip removed.
702         /// </summary>
703         ConicalFrustrum,
704         /// <summary>
705         /// Equivalent to a conical frustrum with the top radius of zero.
706         /// </summary>Equivalent to a conical frustrum with the top radius of zero.
707         Cone,
708         /// <summary>
709         /// Equivalent to a conical frustrum with the top radius of zero.
710         /// </summary>
711         Cylinder,
712         /// <summary>
713         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
714         /// </summary>
715         Cube,
716         /// <summary>
717         /// Equivalent to a bevelled cube with a bevel percentage of zero.
718         /// </summary>
719         Octahedron,
720         /// <summary>
721         /// Equivalent to a bevelled cube with a bevel percentage of one.
722         /// </summary>
723         BevelledCube
724     }
725
726     /// <summary>
727     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
728     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
729     /// All fitting modes preserve the aspect ratio of the image contents.<br />
730     /// </summary>
731     /// <since_tizen> 3 </since_tizen>
732     public enum FittingModeType
733     {
734         /// <summary>
735         /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
736         /// </summary>
737         ShrinkToFit,
738         /// <summary>
739         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
740         /// </summary>
741         ScaleToFill,
742         /// <summary>
743         /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
744         /// </summary>
745         FitWidth,
746         /// <summary>
747         /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
748         /// </summary>
749         FitHeight
750     }
751
752     /// <summary>
753     /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
754     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
755     /// NoFilter and Box modes do not guarantee that the output pixel array exactly matches the rectangle specified by the desired dimensions and the FittingMode,<br />
756     /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
757     /// </summary>
758     /// <since_tizen> 3 </since_tizen>
759     public enum SamplingModeType
760     {
761         /// <summary>
762         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
763         /// This is the default.
764         /// </summary>
765         Box,
766         /// <summary>
767         /// For each output pixel, read one input pixel.
768         /// </summary>
769         Nearest,
770         /// <summary>
771         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
772         /// </summary>
773         Linear,
774         /// <summary>
775         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
776         /// then for each output pixel, read one pixel from the last level of box filtering.<br />
777         /// </summary>
778         BoxThenNearest,
779         /// <summary>
780         /// 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.
781         /// </summary>
782         BoxThenLinear,
783         /// <summary>
784         /// 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.
785         /// </summary>
786         NoFilter,
787         /// <summary>
788         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
789         /// </summary>
790         DontCare
791     }
792
793     /// <summary>
794     /// This specifies policy types that could be used by the transform for the offset or size.
795     /// </summary>
796     /// <since_tizen> 3 </since_tizen>
797     public enum VisualTransformPolicyType
798     {
799         /// <summary>
800         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
801         /// </summary>
802         Relative = 0,
803         /// <summary>
804         /// Absolute value in world units.
805         /// </summary>
806         Absolute = 1
807     }
808
809     /// <summary>
810     /// This specifies all the transform property types.
811     /// </summary>
812     /// <since_tizen> 3 </since_tizen>
813     public enum VisualTransformPropertyType
814     {
815         /// <summary>
816         /// Offset of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
817         /// </summary>
818         Offset,
819         /// <summary>
820         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
821         /// </summary>
822         Size,
823         /// <summary>
824         /// The origin of the visual within its control area.
825         /// </summary>
826         Origin,
827         /// <summary>
828         /// The anchor-point of the visual.
829         /// </summary>
830         AnchorPoint,
831         /// <summary>
832         /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
833         /// </summary>
834         OffsetPolicy,
835         /// <summary>
836         /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
837         /// </summary>
838         SizePolicy
839     }
840
841     /// <summary>
842     /// This specifies visual types.
843     /// </summary>
844     /// <since_tizen> 3 </since_tizen>
845     public struct Visual
846     {
847         /// <summary>
848         /// The index for the visual type.
849         /// </summary>
850         /// <since_tizen> 3 </since_tizen>
851         public enum Type
852         {
853             /// <summary>
854             /// Renders a solid color as an internal border to the control's quad.
855             /// </summary>
856             Border,
857             /// <summary>
858             /// Renders a solid color to the control's quad.
859             /// </summary>
860             Color,
861             /// <summary>
862             /// Renders a smooth transition of colors to the control's quad.
863             /// </summary>
864             Gradient,
865             /// <summary>
866             /// Renders an image into the control's quad.
867             /// </summary>
868             Image,
869             /// <summary>
870             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
871             /// </summary>
872             Mesh,
873             /// <summary>
874             /// Renders a simple 3D shape, such as a cube or a sphere.
875             /// </summary>
876             Primitive,
877             /// <summary>
878             /// Renders a simple wire-frame outlining a quad.
879             /// </summary>
880             Wireframe,
881             /// <summary>
882             /// Renders text.
883             /// </summary>
884             Text,
885             /// <summary>
886             /// Renders an n-patch image.
887             /// </summary>
888             NPatch,
889             /// <summary>
890             /// Renders an SVG image.
891             /// </summary>
892             SVG,
893             /// <summary>
894             /// Renders a animated image (animated GIF).
895             /// </summary>
896             AnimatedImage
897         }
898
899         /// <summary>
900         /// This specifies visual properties.
901         /// </summary>
902         /// <since_tizen> 3 </since_tizen>
903         public struct Property
904         {
905             /// <summary>
906             /// Type.
907             /// </summary>
908             /// <since_tizen> 3 </since_tizen>
909             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
910             /// <summary>
911             /// Shader.
912             /// </summary>
913             /// <since_tizen> 3 </since_tizen>
914             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
915             /// <summary>
916             /// Transform.
917             /// </summary>
918             /// <since_tizen> 3 </since_tizen>
919             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
920             /// <summary>
921             /// PremultipliedAlpha.
922             /// </summary>
923             /// <since_tizen> 3 </since_tizen>
924             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
925             /// <summary>
926             /// MixColor.
927             /// </summary>
928             /// <since_tizen> 3 </since_tizen>
929             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
930             /// <summary>
931             /// Opacity.
932             /// </summary>
933             /// <since_tizen> 3 </since_tizen>
934             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
935         }
936
937         /// <summary>
938         /// This specifies shader properties.
939         /// </summary>
940         /// <since_tizen> 3 </since_tizen>
941         public struct ShaderProperty
942         {
943             /// <summary>
944             /// Vertex shader code
945             /// </summary>
946             /// <since_tizen> 3 </since_tizen>
947             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
948             /// <summary>
949             /// Fragment shader code
950             /// </summary>
951             /// <since_tizen> 3 </since_tizen>
952             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
953             /// <summary>
954             /// How to subdivide the grid along X
955             /// </summary>
956             /// <since_tizen> 3 </since_tizen>
957             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
958             /// <summary>
959             /// How to subdivide the grid along Y
960             /// </summary>
961             /// <since_tizen> 3 </since_tizen>
962             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
963             /// <summary>
964             /// Bitmask of hints
965             /// </summary>
966             /// <since_tizen> 3 </since_tizen>
967             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
968         }
969
970         /// <summary>
971         /// This specifies visaul align types.
972         /// </summary>
973         /// <since_tizen> 3 </since_tizen>
974         public enum AlignType
975         {
976             /// <summary>
977             /// TopBegin
978             /// </summary>
979             /// <since_tizen> 3 </since_tizen>
980             TopBegin = 0,
981             /// <summary>
982             /// TopCenter
983             /// </summary>
984             /// <since_tizen> 3 </since_tizen>
985             TopCenter,
986             /// <summary>
987             /// TopEnd
988             /// </summary>
989             /// <since_tizen> 3 </since_tizen>
990             TopEnd,
991             /// <summary>
992             /// CenterBegin
993             /// </summary>
994             /// <since_tizen> 3 </since_tizen>
995             CenterBegin,
996             /// <summary>
997             /// Center
998             /// </summary>
999             /// <since_tizen> 3 </since_tizen>
1000             Center,
1001             /// <summary>
1002             /// CenterEnd
1003             /// </summary>
1004             /// <since_tizen> 3 </since_tizen>
1005             CenterEnd,
1006             /// <summary>
1007             /// BottomBegin
1008             /// </summary>
1009             /// <since_tizen> 3 </since_tizen>
1010             BottomBegin,
1011             /// <summary>
1012             /// BottomCenter
1013             /// </summary>
1014             /// <since_tizen> 3 </since_tizen>
1015             BottomCenter,
1016             /// <summary>
1017             /// BottomEnd
1018             /// </summary>
1019             /// <since_tizen> 3 </since_tizen>
1020             BottomEnd
1021         }
1022     }
1023
1024     /// <summary>
1025     /// This specifies properties of the BorderVisual.
1026     /// </summary>
1027     /// <since_tizen> 3 </since_tizen>
1028     public struct BorderVisualProperty
1029     {
1030         /// <summary>
1031         /// The color of the border.
1032         /// </summary>
1033         /// <since_tizen> 3 </since_tizen>
1034         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1035         /// <summary>
1036         /// The width of the border (in pixels).
1037         /// </summary>
1038         /// <since_tizen> 3 </since_tizen>
1039         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1040         /// <summary>
1041         /// Whether anti-aliasing of the border is required.
1042         /// </summary>
1043         /// <since_tizen> 3 </since_tizen>
1044         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1045     }
1046
1047     /// <summary>
1048     /// This specifies properties of the ColorVisual.
1049     /// </summary>
1050     /// <since_tizen> 3 </since_tizen>
1051     public struct ColorVisualProperty
1052     {
1053         /// <summary>
1054         /// The solid color required.
1055         /// </summary>
1056         /// <since_tizen> 3 </since_tizen>
1057         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1058     }
1059
1060     /// <summary>
1061     /// This specifies properties of the GradientVisual.
1062     /// </summary>
1063     /// <since_tizen> 3 </since_tizen>
1064     public struct GradientVisualProperty
1065     {
1066         /// <summary>
1067         /// The start position of a linear gradient.
1068         /// </summary>
1069         /// <since_tizen> 3 </since_tizen>
1070         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1071         /// <summary>
1072         /// The end position of a linear gradient.
1073         /// </summary>
1074         /// <since_tizen> 3 </since_tizen>
1075         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1076         /// <summary>
1077         /// The center point of a radial gradient.
1078         /// </summary>
1079         /// <since_tizen> 3 </since_tizen>
1080         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1081         /// <summary>
1082         /// The size of the radius of a radial gradient.
1083         /// </summary>
1084         /// <since_tizen> 3 </since_tizen>
1085         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1086         /// <summary>
1087         /// All the stop offsets.
1088         /// </summary>
1089         /// <since_tizen> 3 </since_tizen>
1090         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1091         /// <summary>
1092         /// The color at the stop offsets.
1093         /// </summary>
1094         /// <since_tizen> 3 </since_tizen>
1095         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1096         /// <summary>
1097         /// Defines the coordinate system for certain attributes of the points in a gradient.
1098         /// </summary>
1099         /// <since_tizen> 3 </since_tizen>
1100         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1101         /// <summary>
1102         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1103         /// </summary>
1104         /// <since_tizen> 3 </since_tizen>
1105         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1106     }
1107
1108     /// <summary>
1109     /// This specifies properties of the ImageVisual.
1110     /// </summary>
1111     /// <since_tizen> 3 </since_tizen>
1112     public struct ImageVisualProperty
1113     {
1114         /// <summary>
1115         /// The URL of the image.
1116         /// </summary>
1117         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1118         /// <summary>
1119         /// The URL of the alpha mask image.
1120         /// </summary>
1121         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1122         /// <summary>
1123         /// Fitting options, used when resizing images to fit desired dimensions.
1124         /// </summary>
1125         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1126         /// <summary>
1127         /// Filtering options, used when resizing images to sample original pixels.
1128         /// </summary>
1129         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1130         /// <summary>
1131         /// The desired image width.
1132         /// </summary>
1133         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1134         /// <summary>
1135         /// The desired image height.
1136         /// </summary>
1137         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1138         /// <summary>
1139         /// Whether to load the image synchronously.
1140         /// </summary>
1141         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1142         /// <summary>
1143         /// If true, only draws the borders.
1144         /// </summary>
1145         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1146         /// <summary>
1147         /// The image area to be displayed.
1148         /// </summary>
1149         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1150         /// <summary>
1151         /// The wrap mode for u coordinate.
1152         /// </summary>
1153         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1154         /// <summary>
1155         /// The wrap mode for v coordinate.
1156         /// </summary>
1157         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1158         /// <summary>
1159         /// The border of the image.
1160         /// </summary>
1161         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1162         /// <summary>
1163         /// The scale factor to apply to the content image before masking.
1164         /// </summary>
1165         public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1166         /// <summary>
1167         /// Whether to crop image to mask or scale mask to fit image
1168         /// </summary>
1169         public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1170         /// <summary>
1171         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1172         /// </summary>
1173         public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1174         /// <summary>
1175         /// Defines the cache size for loading images in the AnimatedImageVisual
1176         /// </summary>
1177         public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1178         /// <summary>
1179         /// The number of milliseconds between each frame in the AnimatedImageVisual
1180         /// </summary>
1181         public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1182
1183     }
1184
1185     /// <summary>
1186     /// This specifies properties of the MeshVisual.
1187     /// </summary>
1188     /// <since_tizen> 3 </since_tizen>
1189     public struct MeshVisualProperty
1190     {
1191         /// <summary>
1192         /// The location of the ".obj" file.
1193         /// </summary>
1194         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1195         /// <summary>
1196         /// The location of the ".mtl" file.
1197         /// </summary>
1198         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1199         /// <summary>
1200         /// Path to the directory the textures (including gloss and normal) are stored in.
1201         /// </summary>
1202         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1203         /// <summary>
1204         /// Sets the type of shading mode that the mesh will use.
1205         /// </summary>
1206         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1207         /// <summary>
1208         /// Whether to use mipmaps for textures or not.
1209         /// </summary>
1210         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1211         /// <summary>
1212         /// Whether to average normals at each point to smooth textures or not.
1213         /// </summary>
1214         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1215         /// <summary>
1216         /// The position, in stage space, of the point light that applies lighting to the model.
1217         /// </summary>
1218         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1219     }
1220
1221     /// <summary>
1222     /// This specifies properties of the PrimitiveVisual.
1223     /// </summary>
1224     /// <since_tizen> 3 </since_tizen>
1225     public struct PrimitiveVisualProperty
1226     {
1227         /// <summary>
1228         /// The specific shape to render.
1229         /// </summary>
1230         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1231         /// <summary>
1232         /// The color of the shape.
1233         /// </summary>
1234         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1235         /// <summary>
1236         /// The number of slices as you go around the shape.
1237         /// </summary>
1238         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1239         /// <summary>
1240         /// The number of stacks as you go down the shape.
1241         /// </summary>
1242         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1243         /// <summary>
1244         /// The scale of the radius of the top circle of a conical frustrum.
1245         /// </summary>
1246         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1247         /// <summary>
1248         /// The scale of the radius of the bottom circle of a conical frustrum.
1249         /// </summary>
1250         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1251         /// <summary>
1252         /// The scale of the height of a conic.
1253         /// </summary>
1254         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1255         /// <summary>
1256         /// The scale of the radius of a cylinder.
1257         /// </summary>
1258         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1259         /// <summary>
1260         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1261         /// </summary>
1262         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1263         /// <summary>
1264         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1265         /// </summary>
1266         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1267         /// <summary>
1268         /// Defines how smooth the bevelled edges should be.
1269         /// </summary>
1270         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1271         /// <summary>
1272         /// The position, in stage space, of the point light that applies lighting to the model.
1273         /// </summary>
1274         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1275     }
1276
1277     /// <summary>
1278     /// This specifies properties of the TextVisual.
1279     /// </summary>
1280     /// <since_tizen> 3 </since_tizen>
1281     public struct TextVisualProperty
1282     {
1283         /// <summary>
1284         /// The text to display in UTF-8 format.
1285         /// </summary>
1286         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1287         /// <summary>
1288         /// The requested font family to use.
1289         /// </summary>
1290         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1291         /// <summary>
1292         /// The requested font style to use.
1293         /// </summary>
1294         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1295         /// <summary>
1296         /// The size of font in points.
1297         /// </summary>
1298         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1299         /// <summary>
1300         /// The single-line or multi-line layout option.
1301         /// </summary>
1302         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1303         /// <summary>
1304         /// The line horizontal alignment.
1305         /// </summary>
1306         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1307         /// <summary>
1308         /// The line vertical alignment.
1309         /// </summary>
1310         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1311         /// <summary>
1312         /// The color of the text.
1313         /// </summary>
1314         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1315         /// <summary>
1316         /// Whether the mark-up processing is enabled.
1317         /// </summary>
1318         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1319     }
1320
1321     /// <summary>
1322     /// This specifies properties of the NpatchImageVisual.
1323     /// </summary>
1324     /// <since_tizen> 3 </since_tizen>
1325     public struct NpatchImageVisualProperty
1326     {
1327         /// <summary>
1328         /// The URL of the image.
1329         /// </summary>
1330         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1331         /// <summary>
1332         /// Fitting options, used when resizing images to fit desired dimensions.
1333         /// </summary>
1334         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1335         /// <summary>
1336         /// Filtering options, used when resizing images to sample original pixels.
1337         /// </summary>
1338         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1339         /// <summary>
1340         /// The desired image width.
1341         /// </summary>
1342         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1343         /// <summary>
1344         /// The desired image height.
1345         /// </summary>
1346         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1347         /// <summary>
1348         /// Whether to load the image synchronously.
1349         /// </summary>
1350         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1351         /// <summary>
1352         /// If true, only draws the borders.
1353         /// </summary>
1354         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1355         /// <summary>
1356         /// The image area to be displayed.
1357         /// </summary>
1358         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1359         /// <summary>
1360         /// The wrap mode for u coordinate.
1361         /// </summary>
1362         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1363         /// <summary>
1364         /// The wrap mode for v coordinate.
1365         /// </summary>
1366         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1367         /// <summary>
1368         /// The border of the image.
1369         /// </summary>
1370         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1371     }
1372
1373     /// <summary>
1374     /// The HiddenInput property.
1375     /// </summary>
1376     /// <since_tizen> 3 </since_tizen>
1377     public struct HiddenInputProperty
1378     {
1379         /// <summary>
1380         /// The mode for input text display.
1381         /// </summary>
1382         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1383         /// <summary>
1384         /// All input characters are substituted by this character.
1385         /// </summary>
1386         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1387         /// <summary>
1388         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1389         /// </summary>
1390         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1391         /// <summary>
1392         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1393         /// </summary>
1394         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1395     }
1396
1397     /// <summary>
1398     /// The type for HiddenInput mode.
1399     /// </summary>
1400     /// <since_tizen> 3 </since_tizen>
1401     public enum HiddenInputModeType
1402     {
1403         /// <summary>
1404         /// Don't hide text.
1405         /// </summary>
1406         HideNone,
1407         /// <summary>
1408         /// Hide all the input text.
1409         /// </summary>
1410         HideAll,
1411         /// <summary>
1412         /// Hide n characters from start.
1413         /// </summary>
1414         HideCount,
1415         /// <summary>
1416         /// Show n characters from start.
1417         /// </summary>
1418         ShowCount,
1419         /// <summary>
1420         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1421         /// </summary>
1422         ShowLastCharacter
1423     }
1424
1425     /// <summary>
1426     /// ParentOrigin constants.
1427     /// </summary>
1428     /// <since_tizen> 3 </since_tizen>
1429     public struct ParentOrigin
1430     {
1431         /// <summary>
1432         /// Top
1433         /// </summary>
1434         /// <since_tizen> 3 </since_tizen>
1435         public static float Top
1436         {
1437             get
1438             {
1439                 float ret = NDalicPINVOKE.ParentOriginTop_get();
1440                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1441                 return ret;
1442             }
1443         }
1444
1445         /// <summary>
1446         /// Bottom
1447         /// </summary>
1448         /// <since_tizen> 3 </since_tizen>
1449         public static float Bottom
1450         {
1451             get
1452             {
1453                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1454                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1455                 return ret;
1456             }
1457         }
1458
1459         /// <summary>
1460         /// Left
1461         /// </summary>
1462         /// <since_tizen> 3 </since_tizen>
1463         public static float Left
1464         {
1465             get
1466             {
1467                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1468                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1469                 return ret;
1470             }
1471         }
1472
1473         /// <summary>
1474         /// Right
1475         /// </summary>
1476         /// <since_tizen> 3 </since_tizen>
1477         public static float Right
1478         {
1479             get
1480             {
1481                 float ret = NDalicPINVOKE.ParentOriginRight_get();
1482                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1483                 return ret;
1484             }
1485         }
1486
1487         /// <summary>
1488         /// Middle
1489         /// </summary>
1490         /// <since_tizen> 3 </since_tizen>
1491         public static float Middle
1492         {
1493             get
1494             {
1495                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1496                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1497                 return ret;
1498             }
1499         }
1500
1501         /// <summary>
1502         /// TopLeft
1503         /// </summary>
1504         /// <since_tizen> 3 </since_tizen>
1505         public static Position TopLeft
1506         {
1507             get
1508             {
1509                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1510                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1511                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1512                 return ret;
1513             }
1514         }
1515
1516         /// <summary>
1517         /// TopCenter
1518         /// </summary>
1519         /// <since_tizen> 3 </since_tizen>
1520         public static Position TopCenter
1521         {
1522             get
1523             {
1524                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1525                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1526                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1527                 return ret;
1528             }
1529         }
1530
1531         /// <summary>
1532         /// TopRight
1533         /// </summary>
1534         /// <since_tizen> 3 </since_tizen>
1535         public static Position TopRight
1536         {
1537             get
1538             {
1539                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1540                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1541                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1542                 return ret;
1543             }
1544         }
1545
1546         /// <summary>
1547         /// CenterLeft
1548         /// </summary>
1549         /// <since_tizen> 3 </since_tizen>
1550         public static Position CenterLeft
1551         {
1552             get
1553             {
1554                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1555                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1556                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1557                 return ret;
1558             }
1559         }
1560
1561         /// <summary>
1562         /// Center
1563         /// </summary>
1564         /// <since_tizen> 3 </since_tizen>
1565         public static Position Center
1566         {
1567             get
1568             {
1569                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1570                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1571                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1572                 return ret;
1573             }
1574         }
1575
1576         /// <summary>
1577         /// CenterRight
1578         /// </summary>
1579         /// <since_tizen> 3 </since_tizen>
1580         public static Position CenterRight
1581         {
1582             get
1583             {
1584                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1585                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1586                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1587                 return ret;
1588             }
1589         }
1590
1591         /// <summary>
1592         /// BottomLeft
1593         /// </summary>
1594         /// <since_tizen> 3 </since_tizen>
1595         public static Position BottomLeft
1596         {
1597             get
1598             {
1599                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1600                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1601                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1602                 return ret;
1603             }
1604         }
1605
1606         /// <summary>
1607         /// BottomCenter
1608         /// </summary>
1609         /// <since_tizen> 3 </since_tizen>
1610         public static Position BottomCenter
1611         {
1612             get
1613             {
1614                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1615                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1616                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1617                 return ret;
1618             }
1619         }
1620
1621         /// <summary>
1622         /// BottomRight
1623         /// </summary>
1624         /// <since_tizen> 3 </since_tizen>
1625         public static Position BottomRight
1626         {
1627             get
1628             {
1629                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1630                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1631                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1632                 return ret;
1633             }
1634         }
1635     }
1636
1637     /// <summary>
1638     /// PivotPoint constants.
1639     /// </summary>
1640     /// <since_tizen> 3 </since_tizen>
1641     public struct PivotPoint
1642     {
1643         /// <summary>
1644         /// Top
1645         /// </summary>
1646         /// <since_tizen> 3 </since_tizen>
1647         public static float Top
1648         {
1649             get
1650             {
1651                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1652                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1653                 return ret;
1654             }
1655         }
1656         /// <summary>
1657         /// Bottom
1658         /// </summary>
1659         /// <since_tizen> 3 </since_tizen>
1660         public static float Bottom
1661         {
1662             get
1663             {
1664                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1665                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1666                 return ret;
1667             }
1668         }
1669         /// <summary>
1670         /// Left
1671         /// </summary>
1672         /// <since_tizen> 3 </since_tizen>
1673         public static float Left
1674         {
1675             get
1676             {
1677                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1678                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1679                 return ret;
1680             }
1681         }
1682         /// <summary>
1683         /// Right
1684         /// </summary>
1685         /// <since_tizen> 3 </since_tizen>
1686         public static float Right
1687         {
1688             get
1689             {
1690                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1691                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1692                 return ret;
1693             }
1694         }
1695         /// <summary>
1696         /// Middle
1697         /// </summary>
1698         /// <since_tizen> 3 </since_tizen>
1699         public static float Middle
1700         {
1701             get
1702             {
1703                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1704                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1705                 return ret;
1706             }
1707         }
1708         /// <summary>
1709         /// TopLeft
1710         /// </summary>
1711         /// <since_tizen> 3 </since_tizen>
1712         public static Position TopLeft
1713         {
1714             get
1715             {
1716                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1717                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1718                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1719                 return ret;
1720             }
1721         }
1722         /// <summary>
1723         /// TopCenter
1724         /// </summary>
1725         /// <since_tizen> 3 </since_tizen>
1726         public static Position TopCenter
1727         {
1728             get
1729             {
1730                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1731                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1732                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1733                 return ret;
1734             }
1735         }
1736         /// <summary>
1737         /// TopRight
1738         /// </summary>
1739         /// <since_tizen> 3 </since_tizen>
1740         public static Position TopRight
1741         {
1742             get
1743             {
1744                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1745                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1746                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1747                 return ret;
1748             }
1749         }
1750         /// <summary>
1751         /// CenterLeft
1752         /// </summary>
1753         /// <since_tizen> 3 </since_tizen>
1754         public static Position CenterLeft
1755         {
1756             get
1757             {
1758                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1759                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1760                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1761                 return ret;
1762             }
1763         }
1764         /// <summary>
1765         /// Center
1766         /// </summary>
1767         /// <since_tizen> 3 </since_tizen>
1768         public static Position Center
1769         {
1770             get
1771             {
1772                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1773                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1774                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1775                 return ret;
1776             }
1777         }
1778         /// <summary>
1779         /// CenterRight
1780         /// </summary>
1781         /// <since_tizen> 3 </since_tizen>
1782         public static Position CenterRight
1783         {
1784             get
1785             {
1786                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1787                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1788                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1789                 return ret;
1790             }
1791         }
1792         /// <summary>
1793         /// BottomLeft
1794         /// </summary>
1795         /// <since_tizen> 3 </since_tizen>
1796         public static Position BottomLeft
1797         {
1798             get
1799             {
1800                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1801                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1802                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1803                 return ret;
1804             }
1805         }
1806         /// <summary>
1807         /// BottomCenter
1808         /// </summary>
1809         /// <since_tizen> 3 </since_tizen>
1810         public static Position BottomCenter
1811         {
1812             get
1813             {
1814                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1815                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1816                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1817                 return ret;
1818             }
1819         }
1820         /// <summary>
1821         /// BottomRight
1822         /// </summary>
1823         /// <since_tizen> 3 </since_tizen>
1824         public static Position BottomRight
1825         {
1826             get
1827             {
1828                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1829                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1830                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1831                 return ret;
1832             }
1833         }
1834     }
1835     /// <summary>
1836     /// PositionAxis constants.
1837     /// </summary>
1838     /// <since_tizen> 3 </since_tizen>
1839     public struct PositionAxis
1840     {
1841         /// <summary>
1842         /// The X axis
1843         /// </summary>
1844         /// <since_tizen> 3 </since_tizen>
1845         public static Position X
1846         {
1847             get
1848             {
1849                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1850                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1851                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1852                 return ret;
1853             }
1854         }
1855         /// <summary>
1856         /// The Y axis
1857         /// </summary>
1858         /// <since_tizen> 3 </since_tizen>
1859         public static Position Y
1860         {
1861             get
1862             {
1863                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1864                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1865                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1866                 return ret;
1867             }
1868         }
1869         /// <summary>
1870         /// The Z axis
1871         /// </summary>
1872         /// <since_tizen> 3 </since_tizen>
1873         public static Position Z
1874         {
1875             get
1876             {
1877                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1878                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1879                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1880                 return ret;
1881             }
1882         }
1883         /// <summary>
1884         /// The Negative X axis
1885         /// </summary>
1886         /// <since_tizen> 3 </since_tizen>
1887         public static Position NegativeX
1888         {
1889             get
1890             {
1891                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1892                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1893                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1894                 return ret;
1895             }
1896         }
1897         /// <summary>
1898         /// The Negative Y axis
1899         /// </summary>
1900         /// <since_tizen> 3 </since_tizen>
1901         public static Position NegativeY
1902         {
1903             get
1904             {
1905                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1906                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1907                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1908                 return ret;
1909             }
1910         }
1911         /// <summary>
1912         /// The Negative Z axis
1913         /// </summary>
1914         /// <since_tizen> 3 </since_tizen>
1915         public static Position NegativeZ
1916         {
1917             get
1918             {
1919                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1920                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1921                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1922                 return ret;
1923             }
1924         }
1925     }
1926
1927     /// <summary>
1928     /// Auto scrolling stop behavior.
1929     /// </summary>
1930     /// <since_tizen> 3 </since_tizen>
1931     public enum AutoScrollStopMode
1932     {
1933         /// <summary>
1934         /// Stop animation after current loop finished.
1935         /// </summary>
1936         FinishLoop,
1937         /// <summary>
1938         /// Stop animation immediately and reset position.
1939         /// </summary>
1940         Immediate
1941     }
1942
1943     /// <summary>
1944     /// An enum of screen mode.
1945     /// </summary>
1946     /// <since_tizen> 3 </since_tizen>
1947     public enum ScreenOffMode {
1948         /// <summary>
1949         /// The mode which turns the screen off after a timeout.
1950         /// </summary>
1951         Timout,
1952         /// <summary>
1953         /// The mode which keeps the screen turned on.
1954         /// </summary>
1955         Never
1956     }
1957
1958     /// <summary>
1959     /// An enum of notification window's priority level.
1960     /// </summary>
1961     /// <since_tizen> 3 </since_tizen>
1962     public enum NotificationLevel {
1963         /// <summary>
1964         /// No notification level.<br />
1965         /// Default level.<br />
1966         /// This value makes the notification window place in the layer of the normal window.
1967         /// </summary>
1968         None = -1,
1969         /// <summary>
1970         /// The base nofitication level.
1971         /// </summary>
1972         Base = 10,
1973         /// <summary>
1974         /// The medium notification level than base.
1975         /// </summary>
1976         Medium = 20,
1977         /// <summary>
1978         /// The higher notification level than medium.
1979         /// </summary>
1980         High = 30,
1981         /// <summary>
1982         /// The highest notification level.
1983         /// </summary>
1984         Top = 40
1985     }
1986
1987     /// <summary>
1988     /// An enum of window types.
1989     /// </summary>
1990     /// <since_tizen> 3 </since_tizen>
1991     public enum WindowType {
1992         /// <summary>
1993         /// A default window type.<br />
1994         /// Indicates a normal or top-level window.
1995         /// Almost every window will be created with this type.
1996         /// </summary>
1997         Normal,
1998         /// <summary>
1999         /// A notification window, like a warning about battery life or a new email received.
2000         /// </summary>
2001         Notification,
2002         /// <summary>
2003         /// A persistent utility window, like a toolbox or a palette.
2004         /// </summary>
2005         Utility,
2006         /// <summary>
2007         /// Used for simple dialog windows.
2008         /// </summary>
2009         Dialog
2010     }
2011
2012     /// <since_tizen> 3 </since_tizen>
2013     public enum DisposeTypes
2014     {
2015         /// <summary>
2016         /// Called By User
2017         /// </summary>
2018         /// <since_tizen> 3 </since_tizen>
2019         Explicit,
2020         /// <summary>
2021         /// Called by DisposeQueue
2022         /// </summary>
2023         /// <since_tizen> 3 </since_tizen>
2024         Implicit,
2025     }
2026
2027
2028
2029     /// <summary>
2030     /// [Obsolete("Please do not use! this will be deprecated")]
2031     /// </summary>
2032     /// <since_tizen> 3 </since_tizen>
2033     [Obsolete("Please do not use! this will be deprecated")]
2034     public struct AnchorPoint
2035     {
2036         /// <summary>
2037         /// Top
2038         /// </summary>
2039         /// <since_tizen> 3 </since_tizen>
2040         public static float Top
2041         {
2042             get
2043             {
2044                 float ret = NDalicPINVOKE.AnchorPointTop_get();
2045                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2046                 return ret;
2047             }
2048         }
2049         /// <summary>
2050         /// Bottom
2051         /// </summary>
2052         /// <since_tizen> 3 </since_tizen>
2053         public static float Bottom
2054         {
2055             get
2056             {
2057                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2058                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2059                 return ret;
2060             }
2061         }
2062         /// <summary>
2063         /// Left
2064         /// </summary>
2065         /// <since_tizen> 3 </since_tizen>
2066         public static float Left
2067         {
2068             get
2069             {
2070                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2071                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2072                 return ret;
2073             }
2074         }
2075         /// <summary>
2076         /// Right
2077         /// </summary>
2078         /// <since_tizen> 3 </since_tizen>
2079         public static float Right
2080         {
2081             get
2082             {
2083                 float ret = NDalicPINVOKE.AnchorPointRight_get();
2084                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2085                 return ret;
2086             }
2087         }
2088         /// <summary>
2089         /// Middle
2090         /// </summary>
2091         /// <since_tizen> 3 </since_tizen>
2092         public static float Middle
2093         {
2094             get
2095             {
2096                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2097                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2098                 return ret;
2099             }
2100         }
2101         /// <summary>
2102         /// TopLeft
2103         /// </summary>
2104         /// <since_tizen> 3 </since_tizen>
2105         public static Position TopLeft
2106         {
2107             get
2108             {
2109                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2110                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2111                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2112                 return ret;
2113             }
2114         }
2115         /// <summary>
2116         /// TopCenter
2117         /// </summary>
2118         /// <since_tizen> 3 </since_tizen>
2119         public static Position TopCenter
2120         {
2121             get
2122             {
2123                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2124                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2125                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2126                 return ret;
2127             }
2128         }
2129         /// <summary>
2130         /// TopRight
2131         /// </summary>
2132         /// <since_tizen> 3 </since_tizen>
2133         public static Position TopRight
2134         {
2135             get
2136             {
2137                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2138                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2139                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2140                 return ret;
2141             }
2142         }
2143         /// <summary>
2144         /// CenterLeft
2145         /// </summary>
2146         /// <since_tizen> 3 </since_tizen>
2147         public static Position CenterLeft
2148         {
2149             get
2150             {
2151                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2152                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2153                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2154                 return ret;
2155             }
2156         }
2157         /// <summary>
2158         /// Center
2159         /// </summary>
2160         /// <since_tizen> 3 </since_tizen>
2161         public static Position Center
2162         {
2163             get
2164             {
2165                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2166                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2167                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2168                 return ret;
2169             }
2170         }
2171         /// <summary>
2172         /// CenterRight
2173         /// </summary>
2174         /// <since_tizen> 3 </since_tizen>
2175         public static Position CenterRight
2176         {
2177             get
2178             {
2179                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2180                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2181                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2182                 return ret;
2183             }
2184         }
2185         /// <summary>
2186         /// BottomLeft
2187         /// </summary>
2188         /// <since_tizen> 3 </since_tizen>
2189         public static Position BottomLeft
2190         {
2191             get
2192             {
2193                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2194                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2195                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2196                 return ret;
2197             }
2198         }
2199         /// <summary>
2200         /// BottomCenter
2201         /// </summary>
2202         /// <since_tizen> 3 </since_tizen>
2203         public static Position BottomCenter
2204         {
2205             get
2206             {
2207                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2208                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2209                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2210                 return ret;
2211             }
2212         }
2213         /// <summary>
2214         /// BottomRight
2215         /// </summary>
2216         /// <since_tizen> 3 </since_tizen>
2217         public static Position BottomRight
2218         {
2219             get
2220             {
2221                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2222                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2223                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2224                 return ret;
2225             }
2226         }
2227     }
2228
2229     /// <summary>
2230     /// An enum of the scroll state of the text eidtor.
2231     /// </summary>
2232     /// <since_tizen> 3 </since_tizen>
2233     public enum ScrollState
2234     {
2235         /// <summary>
2236         /// Scrolling is started.
2237         /// </summary>
2238         Started,
2239
2240         /// <summary>
2241         /// Scrolling is finished.
2242         /// </summary>
2243         Finished
2244     }
2245
2246      /// <summary>
2247     /// An enum of the line wrap mode of text controls.
2248     /// </summary>
2249     /// <since_tizen> 4 </since_tizen>
2250     public enum LineWrapMode
2251     {
2252         /// <summary>
2253         /// The word mode will move a word to the next line.
2254         /// </summary>
2255         Word,
2256
2257         /// <summary>
2258         /// character will move character by character to the next line.
2259         /// </summary>
2260         Character
2261     }
2262
2263 }