Release 4.0.0-preview1-00314
[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         /// <summary>
441         /// An extents type.
442         /// </summary>
443         Extents
444     }
445
446     /// <summary>
447     /// This specifies the property access mode types.<br />
448     /// Enumeration for the access mode for custom properties.
449     /// </summary>
450     /// <since_tizen> 3 </since_tizen>
451     public enum PropertyAccessMode
452     {
453         /// <summary>
454         /// If the property is read-only.
455         /// </summary>
456         ReadOnly,
457         /// <summary>
458         /// If the property is read or writeable.
459         /// </summary>
460         ReadWrite,
461         /// <summary>
462         /// If the property can be animated or constrained.
463         /// </summary>
464         Animatable,
465         /// <summary>
466         /// The number of access modes.
467         /// </summary>
468         AccessModeCount
469     }
470
471     /// <summary>
472     /// Types of style change. Enumeration for the StyleChange type.
473     /// </summary>
474     /// <since_tizen> 3 </since_tizen>
475     public enum StyleChangeType
476     {
477         /// <summary>
478         /// Denotes that the default font has changed.
479         /// </summary>
480         DefaultFontChange,
481         /// <summary>
482         /// Denotes that the default font size has changed.
483         /// </summary>
484         DefaultFontSizeChange,
485         /// <summary>
486         /// Denotes that the theme has changed.
487         /// </summary>
488         ThemeChange
489     }
490
491     /// <summary>
492     /// Enumeration for horizontal alignment types.
493     /// </summary>
494     /// <since_tizen> 3 </since_tizen>
495     public enum HorizontalAlignmentType
496     {
497         /// <summary>
498         /// Align horizontally left.
499         /// </summary>
500         Left,
501         /// <summary>
502         /// Align horizontally center.
503         /// </summary>
504         Center,
505         /// <summary>
506         /// Align horizontally right.
507         /// </summary>
508         Right
509     }
510
511     /// <summary>
512     /// Enumeration for vertical alignment types.
513     /// </summary>
514     /// <since_tizen> 3 </since_tizen>
515     public enum VerticalAlignmentType
516     {
517         /// <summary>
518         /// Align vertically top.
519         /// </summary>
520         Top,
521         /// <summary>
522         /// Align vertically center.
523         /// </summary>
524         Center,
525         /// <summary>
526         /// Align vertically bottom.
527         /// </summary>
528         Bottom
529     }
530
531     /// <summary>
532     /// Enumeration for point state type.
533     /// </summary>
534     /// <since_tizen> 3 </since_tizen>
535     public enum PointStateType
536     {
537         /// <summary>
538         /// Touch or hover started.
539         /// </summary>
540         Started,
541         /// <summary>
542         /// Touch or hover finished.
543         /// </summary>
544         Finished,
545         /// <summary>
546         /// Screen touched.
547         /// </summary>
548         Down = Started,
549         /// <summary>
550         /// Touch stopped.
551         /// </summary>
552         Up = Finished,
553         /// <summary>
554         /// Finger dragged or hovered.
555         /// </summary>
556         Motion,
557         /// <summary>
558         /// Leave the boundary of an actor.
559         /// </summary>
560         Leave,
561         /// <summary>
562         /// No change from last event. <br />
563         /// 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.
564         /// </summary>
565         Stationary,
566         /// <summary>
567         /// A system event has occurred which has interrupted the touch or hover event sequence.
568         /// </summary>
569         Interrupted
570     }
571
572     /// <summary>
573     /// Enumeration for the text horizontal aligning.
574     /// </summary>
575     /// <since_tizen> 3 </since_tizen>
576     public enum HorizontalAlignment
577     {
578         /// <summary>
579         /// Texts place at the begin of horizontal direction.
580         /// </summary>
581         Begin,
582         /// <summary>
583         /// Texts place at the center of horizontal direction.
584         /// </summary>
585         Center,
586         /// <summary>
587         /// Texts place at the end of horizontal direction.
588         /// </summary>
589         End
590     }
591
592     /// <summary>
593     /// Enumeration for the text horizontal aligning.
594     /// </summary>
595     /// <since_tizen> 3 </since_tizen>
596     public enum VerticalAlignment
597     {
598         /// <summary>
599         /// Texts place at the top of vertical direction.
600         /// </summary>
601         Top,
602         /// <summary>
603         /// Texts place at the center of vertical direction.
604         /// </summary>
605         Center,
606         /// <summary>
607         /// Texts place at the bottom of vertical direction.
608         /// </summary>
609         Bottom
610     }
611
612     /// <summary>
613     /// This specifies wrap mode types.<br />
614     /// 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.
615     /// </summary>
616     /// <since_tizen> 3 </since_tizen>
617     public enum WrapModeType
618     {
619         /// <summary>
620         /// The default value.
621         /// </summary>
622         Default = 0,
623         /// <summary>
624         /// Clamp to edge.
625         /// </summary>
626         ClampToEdge,
627         /// <summary>
628         /// Repeat.
629         /// </summary>
630         Repeat,
631         /// <summary>
632         /// Mirrored repeat.
633         /// </summary>
634         MirroredRepeat
635     }
636
637     /// <summary>
638     /// The type of coordinate system for certain attributes of the points in a gradient.
639     /// </summary>
640     /// <since_tizen> 3 </since_tizen>
641     public enum GradientVisualUnitsType
642     {
643         /// <summary>
644         /// 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).
645         /// </summary>
646         ObjectBoundingBox,
647         /// <summary>
648         /// 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).
649         /// </summary>
650         UserSpace
651     }
652
653     /// <summary>
654     /// This specifies SpreadMethod types.<br />
655     /// SpreadMethod defines what happens if the gradient starts or ends inside the bounds of the target rectangle.<br />
656     /// </summary>
657     /// <since_tizen> 3 </since_tizen>
658     public enum GradientVisualSpreadMethodType
659     {
660         /// <summary>
661         /// Uses the terminal colors of the gradient to fill the remainder of the quad.
662         /// </summary>
663         Pad,
664         /// <summary>
665         /// Reflects the gradient pattern start-to-end, end-to-start, start-to-end, etc. until the quad is filled.
666         /// </summary>
667         Reflect,
668         /// <summary>
669         /// Repeats the gradient pattern start-to-end, start-to-end, start-to-end, etc. until the quad is filled.
670         /// </summary>
671         Repeat
672     }
673
674     /// <summary>
675     /// The shading mode used by the mesh visual.
676     /// </summary>
677     /// <since_tizen> 3 </since_tizen>
678     public enum MeshVisualShadingModeValue
679     {
680         /// <summary>
681         /// *Simplest*. One color that is lit by ambient and diffuse lighting.
682         /// </summary>
683         TexturelessWithDiffuseLighting,
684         /// <summary>
685         /// Uses only the visual image textures provided with specular lighting in addition to ambient and diffuse lighting.
686         /// </summary>
687         TexturedWithSpecularLighting,
688         /// <summary>
689         /// Uses all textures provided including gloss, normal, and texture map along with specular, ambient, and diffuse lighting.
690         /// </summary>
691         TexturedWithDetailedSpecularLighting
692     }
693
694     /// <summary>
695     /// The primitive shape to render as a primitive visual.
696     /// </summary>
697     /// <since_tizen> 3 </since_tizen>
698     public enum PrimitiveVisualShapeType
699     {
700         /// <summary>
701         /// A perfectly round geometrical object in the three-dimensional space.
702         /// </summary>
703         Sphere,
704         /// <summary>
705         /// The area bound between two circles, i.e., a cone with the tip removed.
706         /// </summary>
707         ConicalFrustrum,
708         /// <summary>
709         /// Equivalent to a conical frustrum with the top radius of zero.
710         /// </summary>Equivalent to a conical frustrum with the top radius of zero.
711         Cone,
712         /// <summary>
713         /// Equivalent to a conical frustrum with the top radius of zero.
714         /// </summary>
715         Cylinder,
716         /// <summary>
717         /// Equivalent to a conical frustrum with equal radii for the top and bottom circles.
718         /// </summary>
719         Cube,
720         /// <summary>
721         /// Equivalent to a bevelled cube with a bevel percentage of zero.
722         /// </summary>
723         Octahedron,
724         /// <summary>
725         /// Equivalent to a bevelled cube with a bevel percentage of one.
726         /// </summary>
727         BevelledCube
728     }
729
730     /// <summary>
731     /// This specifies fitting mode types. Fitting options, used when resizing images to fit desired dimensions.<br />
732     /// A fitting mode controls the region of a loaded image to be mapped to the desired image rectangle.<br />
733     /// All fitting modes preserve the aspect ratio of the image contents.<br />
734     /// </summary>
735     /// <since_tizen> 3 </since_tizen>
736     public enum FittingModeType
737     {
738         /// <summary>
739         /// Full-screen image display: Limit loaded image resolution to device resolution using the ShrinkToFit mode.
740         /// </summary>
741         ShrinkToFit,
742         /// <summary>
743         /// Thumbnail gallery grid: Limit loaded image resolution to screen tile using the ScaleToFill mode.
744         /// </summary>
745         ScaleToFill,
746         /// <summary>
747         /// Image columns: Limit loaded image resolution to column width using the FitWidth mode.
748         /// </summary>
749         FitWidth,
750         /// <summary>
751         /// Image rows: Limit loaded image resolution to row height using the FitHeight mode.
752         /// </summary>
753         FitHeight
754     }
755
756     /// <summary>
757     /// This specifies sampling mode types. Filtering options are used when resizing images to sample original pixels.<br />
758     /// A SamplingMode controls how pixels in an input image are sampled and combined to generate each pixel of a destination image during scaling.<br />
759     /// 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 />
760     /// but all other filter modes do if the desired dimensions are not more than the raw dimensions of the input image file.<br />
761     /// </summary>
762     /// <since_tizen> 3 </since_tizen>
763     public enum SamplingModeType
764     {
765         /// <summary>
766         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size. <br />
767         /// This is the default.
768         /// </summary>
769         Box,
770         /// <summary>
771         /// For each output pixel, read one input pixel.
772         /// </summary>
773         Nearest,
774         /// <summary>
775         /// For each output pixel, read a quad of four input pixels and write a weighted average of them.
776         /// </summary>
777         Linear,
778         /// <summary>
779         /// Iteratively box filter to generate an image of 1/2, 1/4, 1/8, etc. width and height and approximately the desired size, <br />
780         /// then for each output pixel, read one pixel from the last level of box filtering.<br />
781         /// </summary>
782         BoxThenNearest,
783         /// <summary>
784         /// 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.
785         /// </summary>
786         BoxThenLinear,
787         /// <summary>
788         /// 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.
789         /// </summary>
790         NoFilter,
791         /// <summary>
792         /// For caching algorithms where a client strongly prefers a cache-hit to reuse a cached image.
793         /// </summary>
794         DontCare
795     }
796
797     /// <summary>
798     /// This specifies policy types that could be used by the transform for the offset or size.
799     /// </summary>
800     /// <since_tizen> 3 </since_tizen>
801     public enum VisualTransformPolicyType
802     {
803         /// <summary>
804         /// Relative to the control (percentage [0.0f to 1.0f] of the control).
805         /// </summary>
806         Relative = 0,
807         /// <summary>
808         /// Absolute value in world units.
809         /// </summary>
810         Absolute = 1
811     }
812
813     /// <summary>
814     /// This specifies all the transform property types.
815     /// </summary>
816     /// <since_tizen> 3 </since_tizen>
817     public enum VisualTransformPropertyType
818     {
819         /// <summary>
820         /// Offset 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         Offset,
823         /// <summary>
824         /// Size of the visual, which can be either relative (percentage [0.0f to 1.0f] of the parent) or absolute (in world units).
825         /// </summary>
826         Size,
827         /// <summary>
828         /// The origin of the visual within its control area.
829         /// </summary>
830         Origin,
831         /// <summary>
832         /// The anchor-point of the visual.
833         /// </summary>
834         AnchorPoint,
835         /// <summary>
836         /// Whether the x or y offset values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
837         /// </summary>
838         OffsetPolicy,
839         /// <summary>
840         /// Whether the width or the height size values are relative (percentage [0.0f to 1.0f] of the control) or absolute (in world units).
841         /// </summary>
842         SizePolicy
843     }
844
845     /// <summary>
846     /// This specifies visual types.
847     /// </summary>
848     /// <since_tizen> 3 </since_tizen>
849     public struct Visual
850     {
851         /// <summary>
852         /// The index for the visual type.
853         /// </summary>
854         /// <since_tizen> 3 </since_tizen>
855         public enum Type
856         {
857             /// <summary>
858             /// Renders a solid color as an internal border to the control's quad.
859             /// </summary>
860             Border,
861             /// <summary>
862             /// Renders a solid color to the control's quad.
863             /// </summary>
864             Color,
865             /// <summary>
866             /// Renders a smooth transition of colors to the control's quad.
867             /// </summary>
868             Gradient,
869             /// <summary>
870             /// Renders an image into the control's quad.
871             /// </summary>
872             Image,
873             /// <summary>
874             /// Renders a mesh using an "obj" file, optionally with textures provided by an "mtl" file.
875             /// </summary>
876             Mesh,
877             /// <summary>
878             /// Renders a simple 3D shape, such as a cube or a sphere.
879             /// </summary>
880             Primitive,
881             /// <summary>
882             /// Renders a simple wire-frame outlining a quad.
883             /// </summary>
884             Wireframe,
885             /// <summary>
886             /// Renders text.
887             /// </summary>
888             Text,
889             /// <summary>
890             /// Renders an n-patch image.
891             /// </summary>
892             NPatch,
893             /// <summary>
894             /// Renders an SVG image.
895             /// </summary>
896             SVG,
897             /// <summary>
898             /// Renders a animated image (animated GIF).
899             /// </summary>
900             AnimatedImage
901         }
902
903         /// <summary>
904         /// This specifies visual properties.
905         /// </summary>
906         /// <since_tizen> 3 </since_tizen>
907         public struct Property
908         {
909             /// <summary>
910             /// Type.
911             /// </summary>
912             /// <since_tizen> 3 </since_tizen>
913             public static readonly int Type = NDalic.VISUAL_PROPERTY_TYPE;
914             /// <summary>
915             /// Shader.
916             /// </summary>
917             /// <since_tizen> 3 </since_tizen>
918             public static readonly int Shader = NDalic.VISUAL_PROPERTY_SHADER;
919             /// <summary>
920             /// Transform.
921             /// </summary>
922             /// <since_tizen> 3 </since_tizen>
923             public static readonly int Transform = NDalic.VISUAL_PROPERTY_TRANSFORM;
924             /// <summary>
925             /// PremultipliedAlpha.
926             /// </summary>
927             /// <since_tizen> 3 </since_tizen>
928             public static readonly int PremultipliedAlpha = NDalic.VISUAL_PROPERTY_PREMULTIPLIED_ALPHA;
929             /// <summary>
930             /// MixColor.
931             /// </summary>
932             /// <since_tizen> 3 </since_tizen>
933             public static readonly int MixColor = NDalic.VISUAL_PROPERTY_MIX_COLOR;
934             /// <summary>
935             /// Opacity.
936             /// </summary>
937             /// <since_tizen> 3 </since_tizen>
938             public static readonly int Opacity = NDalic.VISUAL_PROPERTY_MIX_COLOR + 1;
939         }
940
941         /// <summary>
942         /// This specifies shader properties.
943         /// </summary>
944         /// <since_tizen> 3 </since_tizen>
945         public struct ShaderProperty
946         {
947             /// <summary>
948             /// Vertex shader code
949             /// </summary>
950             /// <since_tizen> 3 </since_tizen>
951             public static readonly int VertexShader = NDalic.VISUAL_SHADER_VERTEX;
952             /// <summary>
953             /// Fragment shader code
954             /// </summary>
955             /// <since_tizen> 3 </since_tizen>
956             public static readonly int FragmentShader = NDalic.VISUAL_SHADER_FRAGMENT;
957             /// <summary>
958             /// How to subdivide the grid along X
959             /// </summary>
960             /// <since_tizen> 3 </since_tizen>
961             public static readonly int ShaderSubdivideGridX = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_X;
962             /// <summary>
963             /// How to subdivide the grid along Y
964             /// </summary>
965             /// <since_tizen> 3 </since_tizen>
966             public static readonly int ShaderSubdivideGridY = NDalic.VISUAL_SHADER_SUBDIVIDE_GRID_Y;
967             /// <summary>
968             /// Bitmask of hints
969             /// </summary>
970             /// <since_tizen> 3 </since_tizen>
971             public static readonly int ShaderHints = NDalic.VISUAL_SHADER_HINTS;
972         }
973
974         /// <summary>
975         /// This specifies visaul align types.
976         /// </summary>
977         /// <since_tizen> 3 </since_tizen>
978         public enum AlignType
979         {
980             /// <summary>
981             /// TopBegin
982             /// </summary>
983             /// <since_tizen> 3 </since_tizen>
984             TopBegin = 0,
985             /// <summary>
986             /// TopCenter
987             /// </summary>
988             /// <since_tizen> 3 </since_tizen>
989             TopCenter,
990             /// <summary>
991             /// TopEnd
992             /// </summary>
993             /// <since_tizen> 3 </since_tizen>
994             TopEnd,
995             /// <summary>
996             /// CenterBegin
997             /// </summary>
998             /// <since_tizen> 3 </since_tizen>
999             CenterBegin,
1000             /// <summary>
1001             /// Center
1002             /// </summary>
1003             /// <since_tizen> 3 </since_tizen>
1004             Center,
1005             /// <summary>
1006             /// CenterEnd
1007             /// </summary>
1008             /// <since_tizen> 3 </since_tizen>
1009             CenterEnd,
1010             /// <summary>
1011             /// BottomBegin
1012             /// </summary>
1013             /// <since_tizen> 3 </since_tizen>
1014             BottomBegin,
1015             /// <summary>
1016             /// BottomCenter
1017             /// </summary>
1018             /// <since_tizen> 3 </since_tizen>
1019             BottomCenter,
1020             /// <summary>
1021             /// BottomEnd
1022             /// </summary>
1023             /// <since_tizen> 3 </since_tizen>
1024             BottomEnd
1025         }
1026     }
1027
1028     /// <summary>
1029     /// This specifies properties of the BorderVisual.
1030     /// </summary>
1031     /// <since_tizen> 3 </since_tizen>
1032     public struct BorderVisualProperty
1033     {
1034         /// <summary>
1035         /// The color of the border.
1036         /// </summary>
1037         /// <since_tizen> 3 </since_tizen>
1038         public static readonly int Color = NDalic.BORDER_VISUAL_COLOR;
1039         /// <summary>
1040         /// The width of the border (in pixels).
1041         /// </summary>
1042         /// <since_tizen> 3 </since_tizen>
1043         public static readonly int Size = NDalic.BORDER_VISUAL_SIZE;
1044         /// <summary>
1045         /// Whether anti-aliasing of the border is required.
1046         /// </summary>
1047         /// <since_tizen> 3 </since_tizen>
1048         public static readonly int AntiAliasing = NDalic.BORDER_VISUAL_ANTI_ALIASING;
1049     }
1050
1051     /// <summary>
1052     /// This specifies properties of the ColorVisual.
1053     /// </summary>
1054     /// <since_tizen> 3 </since_tizen>
1055     public struct ColorVisualProperty
1056     {
1057         /// <summary>
1058         /// The solid color required.
1059         /// </summary>
1060         /// <since_tizen> 3 </since_tizen>
1061         public static readonly int MixColor = NDalic.COLOR_VISUAL_MIX_COLOR;
1062     }
1063
1064     /// <summary>
1065     /// This specifies properties of the GradientVisual.
1066     /// </summary>
1067     /// <since_tizen> 3 </since_tizen>
1068     public struct GradientVisualProperty
1069     {
1070         /// <summary>
1071         /// The start position of a linear gradient.
1072         /// </summary>
1073         /// <since_tizen> 3 </since_tizen>
1074         public static readonly int StartPosition = NDalic.GRADIENT_VISUAL_START_POSITION;
1075         /// <summary>
1076         /// The end position of a linear gradient.
1077         /// </summary>
1078         /// <since_tizen> 3 </since_tizen>
1079         public static readonly int EndPosition = NDalic.GRADIENT_VISUAL_END_POSITION;
1080         /// <summary>
1081         /// The center point of a radial gradient.
1082         /// </summary>
1083         /// <since_tizen> 3 </since_tizen>
1084         public static readonly int Center = NDalic.GRADIENT_VISUAL_CENTER;
1085         /// <summary>
1086         /// The size of the radius of a radial gradient.
1087         /// </summary>
1088         /// <since_tizen> 3 </since_tizen>
1089         public static readonly int Radius = NDalic.GRADIENT_VISUAL_RADIUS;
1090         /// <summary>
1091         /// All the stop offsets.
1092         /// </summary>
1093         /// <since_tizen> 3 </since_tizen>
1094         public static readonly int StopOffset = NDalic.GRADIENT_VISUAL_STOP_OFFSET;
1095         /// <summary>
1096         /// The color at the stop offsets.
1097         /// </summary>
1098         /// <since_tizen> 3 </since_tizen>
1099         public static readonly int StopColor = NDalic.GRADIENT_VISUAL_STOP_COLOR;
1100         /// <summary>
1101         /// Defines the coordinate system for certain attributes of the points in a gradient.
1102         /// </summary>
1103         /// <since_tizen> 3 </since_tizen>
1104         public static readonly int Units = NDalic.GRADIENT_VISUAL_UNITS;
1105         /// <summary>
1106         /// Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
1107         /// </summary>
1108         /// <since_tizen> 3 </since_tizen>
1109         public static readonly int SpreadMethod = NDalic.GRADIENT_VISUAL_SPREAD_METHOD;
1110     }
1111
1112     /// <summary>
1113     /// This specifies properties of the ImageVisual.
1114     /// </summary>
1115     /// <since_tizen> 3 </since_tizen>
1116     public struct ImageVisualProperty
1117     {
1118         /// <summary>
1119         /// The URL of the image.
1120         /// </summary>
1121         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1122         /// <summary>
1123         /// The URL of the alpha mask image.
1124         /// </summary>
1125         public static readonly int AlphaMaskURL = NDalic.IMAGE_VISUAL_ALPHA_MASK_URL;
1126         /// <summary>
1127         /// Fitting options, used when resizing images to fit desired dimensions.
1128         /// </summary>
1129         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1130         /// <summary>
1131         /// Filtering options, used when resizing images to sample original pixels.
1132         /// </summary>
1133         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1134         /// <summary>
1135         /// The desired image width.
1136         /// </summary>
1137         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1138         /// <summary>
1139         /// The desired image height.
1140         /// </summary>
1141         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1142         /// <summary>
1143         /// Whether to load the image synchronously.
1144         /// </summary>
1145         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1146         /// <summary>
1147         /// If true, only draws the borders.
1148         /// </summary>
1149         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1150         /// <summary>
1151         /// The image area to be displayed.
1152         /// </summary>
1153         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1154         /// <summary>
1155         /// The wrap mode for u coordinate.
1156         /// </summary>
1157         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1158         /// <summary>
1159         /// The wrap mode for v coordinate.
1160         /// </summary>
1161         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1162         /// <summary>
1163         /// The border of the image.
1164         /// </summary>
1165         public static readonly int Border = NDalic.IMAGE_VISUAL_BORDER;
1166         /// <summary>
1167         /// The scale factor to apply to the content image before masking.
1168         /// </summary>
1169         public static readonly int MaskContentScale = NDalic.IMAGE_VISUAL_MASK_CONTENT_SCALE;
1170         /// <summary>
1171         /// Whether to crop image to mask or scale mask to fit image
1172         /// </summary>
1173         public static readonly int CropToMask = NDalic.IMAGE_VISUAL_CROP_TO_MASK;
1174         /// <summary>
1175         /// Defines the batch size for pre-loading images in the AnimatedImageVisual
1176         /// </summary>
1177         public static readonly int BatchSize = NDalic.IMAGE_VISUAL_BATCH_SIZE;
1178         /// <summary>
1179         /// Defines the cache size for loading images in the AnimatedImageVisual
1180         /// </summary>
1181         public static readonly int CacheSize = NDalic.IMAGE_VISUAL_CACHE_SIZE;
1182         /// <summary>
1183         /// The number of milliseconds between each frame in the AnimatedImageVisual
1184         /// </summary>
1185         public static readonly int FrameDelay = NDalic.IMAGE_VISUAL_FRAME_DELAY;
1186
1187     }
1188
1189     /// <summary>
1190     /// This specifies properties of the MeshVisual.
1191     /// </summary>
1192     /// <since_tizen> 3 </since_tizen>
1193     public struct MeshVisualProperty
1194     {
1195         /// <summary>
1196         /// The location of the ".obj" file.
1197         /// </summary>
1198         public static readonly int ObjectURL = NDalic.MESH_VISUAL_OBJECT_URL;
1199         /// <summary>
1200         /// The location of the ".mtl" file.
1201         /// </summary>
1202         public static readonly int MaterialtURL = NDalic.MESH_VISUAL_MATERIAL_URL;
1203         /// <summary>
1204         /// Path to the directory the textures (including gloss and normal) are stored in.
1205         /// </summary>
1206         public static readonly int TexturesPath = NDalic.MESH_VISUAL_TEXTURES_PATH;
1207         /// <summary>
1208         /// Sets the type of shading mode that the mesh will use.
1209         /// </summary>
1210         public static readonly int ShadingMode = NDalic.MESH_VISUAL_SHADING_MODE;
1211         /// <summary>
1212         /// Whether to use mipmaps for textures or not.
1213         /// </summary>
1214         public static readonly int UseMipmapping = NDalic.MESH_VISUAL_USE_MIPMAPPING;
1215         /// <summary>
1216         /// Whether to average normals at each point to smooth textures or not.
1217         /// </summary>
1218         public static readonly int UseSoftNormals = NDalic.MESH_VISUAL_USE_SOFT_NORMALS;
1219         /// <summary>
1220         /// The position, in stage space, of the point light that applies lighting to the model.
1221         /// </summary>
1222         public static readonly int LightPosition = NDalic.MESH_VISUAL_LIGHT_POSITION;
1223     }
1224
1225     /// <summary>
1226     /// This specifies properties of the PrimitiveVisual.
1227     /// </summary>
1228     /// <since_tizen> 3 </since_tizen>
1229     public struct PrimitiveVisualProperty
1230     {
1231         /// <summary>
1232         /// The specific shape to render.
1233         /// </summary>
1234         public static readonly int Shape = NDalic.PRIMITIVE_VISUAL_SHAPE;
1235         /// <summary>
1236         /// The color of the shape.
1237         /// </summary>
1238         public static readonly int MixColor = NDalic.PRIMITIVE_VISUAL_MIX_COLOR;
1239         /// <summary>
1240         /// The number of slices as you go around the shape.
1241         /// </summary>
1242         public static readonly int Slices = NDalic.PRIMITIVE_VISUAL_SLICES;
1243         /// <summary>
1244         /// The number of stacks as you go down the shape.
1245         /// </summary>
1246         public static readonly int Stacks = NDalic.PRIMITIVE_VISUAL_STACKS;
1247         /// <summary>
1248         /// The scale of the radius of the top circle of a conical frustrum.
1249         /// </summary>
1250         public static readonly int ScaleTopRadius = NDalic.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS;
1251         /// <summary>
1252         /// The scale of the radius of the bottom circle of a conical frustrum.
1253         /// </summary>
1254         public static readonly int ScaleBottomRadius = NDalic.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS;
1255         /// <summary>
1256         /// The scale of the height of a conic.
1257         /// </summary>
1258         public static readonly int ScaleHeight = NDalic.PRIMITIVE_VISUAL_SCALE_HEIGHT;
1259         /// <summary>
1260         /// The scale of the radius of a cylinder.
1261         /// </summary>
1262         public static readonly int ScaleRadius = NDalic.PRIMITIVE_VISUAL_SCALE_RADIUS;
1263         /// <summary>
1264         /// The dimensions of a cuboid. Scales in the same fashion as a 9-patch image.
1265         /// </summary>
1266         public static readonly int ScaleDimensions = NDalic.PRIMITIVE_VISUAL_SCALE_DIMENSIONS;
1267         /// <summary>
1268         /// Determines how bevelled the cuboid should be, based off the smallest dimension.
1269         /// </summary>
1270         public static readonly int BevelPercentage = NDalic.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE;
1271         /// <summary>
1272         /// Defines how smooth the bevelled edges should be.
1273         /// </summary>
1274         public static readonly int BevelSmoothness = NDalic.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS;
1275         /// <summary>
1276         /// The position, in stage space, of the point light that applies lighting to the model.
1277         /// </summary>
1278         public static readonly int LightPosition = NDalic.PRIMITIVE_VISUAL_LIGHT_POSITION;
1279     }
1280
1281     /// <summary>
1282     /// This specifies properties of the TextVisual.
1283     /// </summary>
1284     /// <since_tizen> 3 </since_tizen>
1285     public struct TextVisualProperty
1286     {
1287         /// <summary>
1288         /// The text to display in UTF-8 format.
1289         /// </summary>
1290         public static readonly int Text = NDalic.TEXT_VISUAL_TEXT;
1291         /// <summary>
1292         /// The requested font family to use.
1293         /// </summary>
1294         public static readonly int FontFamily = NDalic.TEXT_VISUAL_FONT_FAMILY;
1295         /// <summary>
1296         /// The requested font style to use.
1297         /// </summary>
1298         public static readonly int FontStyle = NDalic.TEXT_VISUAL_FONT_STYLE;
1299         /// <summary>
1300         /// The size of font in points.
1301         /// </summary>
1302         public static readonly int PointSize = NDalic.TEXT_VISUAL_POINT_SIZE;
1303         /// <summary>
1304         /// The single-line or multi-line layout option.
1305         /// </summary>
1306         public static readonly int MultiLine = NDalic.TEXT_VISUAL_MULTI_LINE;
1307         /// <summary>
1308         /// The line horizontal alignment.
1309         /// </summary>
1310         public static readonly int HorizontalAlignment = NDalic.TEXT_VISUAL_HORIZONTAL_ALIGNMENT;
1311         /// <summary>
1312         /// The line vertical alignment.
1313         /// </summary>
1314         public static readonly int VerticalAlignment = NDalic.TEXT_VISUAL_VERTICAL_ALIGNMENT;
1315         /// <summary>
1316         /// The color of the text.
1317         /// </summary>
1318         public static readonly int TextColor = NDalic.TEXT_VISUAL_TEXT_COLOR;
1319         /// <summary>
1320         /// Whether the mark-up processing is enabled.
1321         /// </summary>
1322         public static readonly int EnableMarkup = NDalic.TEXT_VISUAL_ENABLE_MARKUP;
1323     }
1324
1325     /// <summary>
1326     /// This specifies properties of the NpatchImageVisual.
1327     /// </summary>
1328     /// <since_tizen> 3 </since_tizen>
1329     public struct NpatchImageVisualProperty
1330     {
1331         /// <summary>
1332         /// The URL of the image.
1333         /// </summary>
1334         public static readonly int URL = NDalic.IMAGE_VISUAL_URL;
1335         /// <summary>
1336         /// Fitting options, used when resizing images to fit desired dimensions.
1337         /// </summary>
1338         public static readonly int FittingMode = NDalic.IMAGE_VISUAL_FITTING_MODE;
1339         /// <summary>
1340         /// Filtering options, used when resizing images to sample original pixels.
1341         /// </summary>
1342         public static readonly int SamplingMode = NDalic.IMAGE_VISUAL_SAMPLING_MODE;
1343         /// <summary>
1344         /// The desired image width.
1345         /// </summary>
1346         public static readonly int DesiredWidth = NDalic.IMAGE_VISUAL_DESIRED_WIDTH;
1347         /// <summary>
1348         /// The desired image height.
1349         /// </summary>
1350         public static readonly int DesiredHeight = NDalic.IMAGE_VISUAL_DESIRED_HEIGHT;
1351         /// <summary>
1352         /// Whether to load the image synchronously.
1353         /// </summary>
1354         public static readonly int SynchronousLoading = NDalic.IMAGE_VISUAL_SYNCHRONOUS_LOADING;
1355         /// <summary>
1356         /// If true, only draws the borders.
1357         /// </summary>
1358         public static readonly int BorderOnly = NDalic.IMAGE_VISUAL_BORDER_ONLY;
1359         /// <summary>
1360         /// The image area to be displayed.
1361         /// </summary>
1362         public static readonly int PixelArea = NDalic.IMAGE_VISUAL_PIXEL_AREA;
1363         /// <summary>
1364         /// The wrap mode for u coordinate.
1365         /// </summary>
1366         public static readonly int WrapModeU = NDalic.IMAGE_VISUAL_WRAP_MODE_U;
1367         /// <summary>
1368         /// The wrap mode for v coordinate.
1369         /// </summary>
1370         public static readonly int WrapModeV = NDalic.IMAGE_VISUAL_WRAP_MODE_V;
1371         /// <summary>
1372         /// The border of the image.
1373         /// </summary>
1374         public static readonly int Border = NDalic.IMAGE_VISUAL_WRAP_MODE_V + 1;
1375     }
1376
1377     /// <summary>
1378     /// The HiddenInput property.
1379     /// </summary>
1380     /// <since_tizen> 3 </since_tizen>
1381     public struct HiddenInputProperty
1382     {
1383         /// <summary>
1384         /// The mode for input text display.
1385         /// </summary>
1386         public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1387         /// <summary>
1388         /// All input characters are substituted by this character.
1389         /// </summary>
1390         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1391         /// <summary>
1392         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1393         /// </summary>
1394         public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1395         /// <summary>
1396         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1397         /// </summary>
1398         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1399     }
1400
1401     /// <summary>
1402     /// The type for HiddenInput mode.
1403     /// </summary>
1404     /// <since_tizen> 3 </since_tizen>
1405     public enum HiddenInputModeType
1406     {
1407         /// <summary>
1408         /// Don't hide text.
1409         /// </summary>
1410         HideNone,
1411         /// <summary>
1412         /// Hide all the input text.
1413         /// </summary>
1414         HideAll,
1415         /// <summary>
1416         /// Hide n characters from start.
1417         /// </summary>
1418         HideCount,
1419         /// <summary>
1420         /// Show n characters from start.
1421         /// </summary>
1422         ShowCount,
1423         /// <summary>
1424         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
1425         /// </summary>
1426         ShowLastCharacter
1427     }
1428
1429     /// <summary>
1430     /// ParentOrigin constants.
1431     /// </summary>
1432     /// <since_tizen> 3 </since_tizen>
1433     public struct ParentOrigin
1434     {
1435         /// <summary>
1436         /// Top
1437         /// </summary>
1438         /// <since_tizen> 3 </since_tizen>
1439         public static float Top
1440         {
1441             get
1442             {
1443                 float ret = NDalicPINVOKE.ParentOriginTop_get();
1444                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1445                 return ret;
1446             }
1447         }
1448
1449         /// <summary>
1450         /// Bottom
1451         /// </summary>
1452         /// <since_tizen> 3 </since_tizen>
1453         public static float Bottom
1454         {
1455             get
1456             {
1457                 float ret = NDalicPINVOKE.ParentOriginBottom_get();
1458                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1459                 return ret;
1460             }
1461         }
1462
1463         /// <summary>
1464         /// Left
1465         /// </summary>
1466         /// <since_tizen> 3 </since_tizen>
1467         public static float Left
1468         {
1469             get
1470             {
1471                 float ret = NDalicPINVOKE.ParentOriginLeft_get();
1472                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1473                 return ret;
1474             }
1475         }
1476
1477         /// <summary>
1478         /// Right
1479         /// </summary>
1480         /// <since_tizen> 3 </since_tizen>
1481         public static float Right
1482         {
1483             get
1484             {
1485                 float ret = NDalicPINVOKE.ParentOriginRight_get();
1486                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1487                 return ret;
1488             }
1489         }
1490
1491         /// <summary>
1492         /// Middle
1493         /// </summary>
1494         /// <since_tizen> 3 </since_tizen>
1495         public static float Middle
1496         {
1497             get
1498             {
1499                 float ret = NDalicPINVOKE.ParentOriginMiddle_get();
1500                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1501                 return ret;
1502             }
1503         }
1504
1505         /// <summary>
1506         /// TopLeft
1507         /// </summary>
1508         /// <since_tizen> 3 </since_tizen>
1509         public static Position TopLeft
1510         {
1511             get
1512             {
1513                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopLeft_get();
1514                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1515                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1516                 return ret;
1517             }
1518         }
1519
1520         /// <summary>
1521         /// TopCenter
1522         /// </summary>
1523         /// <since_tizen> 3 </since_tizen>
1524         public static Position TopCenter
1525         {
1526             get
1527             {
1528                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopCenter_get();
1529                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1530                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1531                 return ret;
1532             }
1533         }
1534
1535         /// <summary>
1536         /// TopRight
1537         /// </summary>
1538         /// <since_tizen> 3 </since_tizen>
1539         public static Position TopRight
1540         {
1541             get
1542             {
1543                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginTopRight_get();
1544                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1545                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1546                 return ret;
1547             }
1548         }
1549
1550         /// <summary>
1551         /// CenterLeft
1552         /// </summary>
1553         /// <since_tizen> 3 </since_tizen>
1554         public static Position CenterLeft
1555         {
1556             get
1557             {
1558                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterLeft_get();
1559                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1560                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1561                 return ret;
1562             }
1563         }
1564
1565         /// <summary>
1566         /// Center
1567         /// </summary>
1568         /// <since_tizen> 3 </since_tizen>
1569         public static Position Center
1570         {
1571             get
1572             {
1573                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenter_get();
1574                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1575                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1576                 return ret;
1577             }
1578         }
1579
1580         /// <summary>
1581         /// CenterRight
1582         /// </summary>
1583         /// <since_tizen> 3 </since_tizen>
1584         public static Position CenterRight
1585         {
1586             get
1587             {
1588                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginCenterRight_get();
1589                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1590                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1591                 return ret;
1592             }
1593         }
1594
1595         /// <summary>
1596         /// BottomLeft
1597         /// </summary>
1598         /// <since_tizen> 3 </since_tizen>
1599         public static Position BottomLeft
1600         {
1601             get
1602             {
1603                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomLeft_get();
1604                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1605                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1606                 return ret;
1607             }
1608         }
1609
1610         /// <summary>
1611         /// BottomCenter
1612         /// </summary>
1613         /// <since_tizen> 3 </since_tizen>
1614         public static Position BottomCenter
1615         {
1616             get
1617             {
1618                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomCenter_get();
1619                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1620                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1621                 return ret;
1622             }
1623         }
1624
1625         /// <summary>
1626         /// BottomRight
1627         /// </summary>
1628         /// <since_tizen> 3 </since_tizen>
1629         public static Position BottomRight
1630         {
1631             get
1632             {
1633                 global::System.IntPtr cPtr = NDalicPINVOKE.ParentOriginBottomRight_get();
1634                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1635                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1636                 return ret;
1637             }
1638         }
1639     }
1640
1641     /// <summary>
1642     /// PivotPoint constants.
1643     /// </summary>
1644     /// <since_tizen> 3 </since_tizen>
1645     public struct PivotPoint
1646     {
1647         /// <summary>
1648         /// Top
1649         /// </summary>
1650         /// <since_tizen> 3 </since_tizen>
1651         public static float Top
1652         {
1653             get
1654             {
1655                 float ret = NDalicPINVOKE.AnchorPointTop_get();
1656                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1657                 return ret;
1658             }
1659         }
1660         /// <summary>
1661         /// Bottom
1662         /// </summary>
1663         /// <since_tizen> 3 </since_tizen>
1664         public static float Bottom
1665         {
1666             get
1667             {
1668                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
1669                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1670                 return ret;
1671             }
1672         }
1673         /// <summary>
1674         /// Left
1675         /// </summary>
1676         /// <since_tizen> 3 </since_tizen>
1677         public static float Left
1678         {
1679             get
1680             {
1681                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
1682                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1683                 return ret;
1684             }
1685         }
1686         /// <summary>
1687         /// Right
1688         /// </summary>
1689         /// <since_tizen> 3 </since_tizen>
1690         public static float Right
1691         {
1692             get
1693             {
1694                 float ret = NDalicPINVOKE.AnchorPointRight_get();
1695                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1696                 return ret;
1697             }
1698         }
1699         /// <summary>
1700         /// Middle
1701         /// </summary>
1702         /// <since_tizen> 3 </since_tizen>
1703         public static float Middle
1704         {
1705             get
1706             {
1707                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
1708                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1709                 return ret;
1710             }
1711         }
1712         /// <summary>
1713         /// TopLeft
1714         /// </summary>
1715         /// <since_tizen> 3 </since_tizen>
1716         public static Position TopLeft
1717         {
1718             get
1719             {
1720                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
1721                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1722                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1723                 return ret;
1724             }
1725         }
1726         /// <summary>
1727         /// TopCenter
1728         /// </summary>
1729         /// <since_tizen> 3 </since_tizen>
1730         public static Position TopCenter
1731         {
1732             get
1733             {
1734                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
1735                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1736                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1737                 return ret;
1738             }
1739         }
1740         /// <summary>
1741         /// TopRight
1742         /// </summary>
1743         /// <since_tizen> 3 </since_tizen>
1744         public static Position TopRight
1745         {
1746             get
1747             {
1748                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
1749                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1750                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1751                 return ret;
1752             }
1753         }
1754         /// <summary>
1755         /// CenterLeft
1756         /// </summary>
1757         /// <since_tizen> 3 </since_tizen>
1758         public static Position CenterLeft
1759         {
1760             get
1761             {
1762                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
1763                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1764                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1765                 return ret;
1766             }
1767         }
1768         /// <summary>
1769         /// Center
1770         /// </summary>
1771         /// <since_tizen> 3 </since_tizen>
1772         public static Position Center
1773         {
1774             get
1775             {
1776                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
1777                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1778                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1779                 return ret;
1780             }
1781         }
1782         /// <summary>
1783         /// CenterRight
1784         /// </summary>
1785         /// <since_tizen> 3 </since_tizen>
1786         public static Position CenterRight
1787         {
1788             get
1789             {
1790                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
1791                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1792                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1793                 return ret;
1794             }
1795         }
1796         /// <summary>
1797         /// BottomLeft
1798         /// </summary>
1799         /// <since_tizen> 3 </since_tizen>
1800         public static Position BottomLeft
1801         {
1802             get
1803             {
1804                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
1805                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1806                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1807                 return ret;
1808             }
1809         }
1810         /// <summary>
1811         /// BottomCenter
1812         /// </summary>
1813         /// <since_tizen> 3 </since_tizen>
1814         public static Position BottomCenter
1815         {
1816             get
1817             {
1818                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
1819                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1820                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1821                 return ret;
1822             }
1823         }
1824         /// <summary>
1825         /// BottomRight
1826         /// </summary>
1827         /// <since_tizen> 3 </since_tizen>
1828         public static Position BottomRight
1829         {
1830             get
1831             {
1832                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
1833                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1834                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1835                 return ret;
1836             }
1837         }
1838     }
1839     /// <summary>
1840     /// PositionAxis constants.
1841     /// </summary>
1842     /// <since_tizen> 3 </since_tizen>
1843     public struct PositionAxis
1844     {
1845         /// <summary>
1846         /// The X axis
1847         /// </summary>
1848         /// <since_tizen> 3 </since_tizen>
1849         public static Position X
1850         {
1851             get
1852             {
1853                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_XAXIS_get();
1854                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1855                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1856                 return ret;
1857             }
1858         }
1859         /// <summary>
1860         /// The Y axis
1861         /// </summary>
1862         /// <since_tizen> 3 </since_tizen>
1863         public static Position Y
1864         {
1865             get
1866             {
1867                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_YAXIS_get();
1868                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1869                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1870                 return ret;
1871             }
1872         }
1873         /// <summary>
1874         /// The Z axis
1875         /// </summary>
1876         /// <since_tizen> 3 </since_tizen>
1877         public static Position Z
1878         {
1879             get
1880             {
1881                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_ZAXIS_get();
1882                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1883                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1884                 return ret;
1885             }
1886         }
1887         /// <summary>
1888         /// The Negative X axis
1889         /// </summary>
1890         /// <since_tizen> 3 </since_tizen>
1891         public static Position NegativeX
1892         {
1893             get
1894             {
1895                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_XAXIS_get();
1896                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1897                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1898                 return ret;
1899             }
1900         }
1901         /// <summary>
1902         /// The Negative Y axis
1903         /// </summary>
1904         /// <since_tizen> 3 </since_tizen>
1905         public static Position NegativeY
1906         {
1907             get
1908             {
1909                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_YAXIS_get();
1910                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1911                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1912                 return ret;
1913             }
1914         }
1915         /// <summary>
1916         /// The Negative Z axis
1917         /// </summary>
1918         /// <since_tizen> 3 </since_tizen>
1919         public static Position NegativeZ
1920         {
1921             get
1922             {
1923                 global::System.IntPtr cPtr = NDalicPINVOKE.Vector3_NEGATIVE_ZAXIS_get();
1924                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1925                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1926                 return ret;
1927             }
1928         }
1929     }
1930
1931     /// <summary>
1932     /// Auto scrolling stop behavior.
1933     /// </summary>
1934     /// <since_tizen> 3 </since_tizen>
1935     public enum AutoScrollStopMode
1936     {
1937         /// <summary>
1938         /// Stop animation after current loop finished.
1939         /// </summary>
1940         FinishLoop,
1941         /// <summary>
1942         /// Stop animation immediately and reset position.
1943         /// </summary>
1944         Immediate
1945     }
1946
1947     /// <summary>
1948     /// An enum of screen mode.
1949     /// </summary>
1950     /// <since_tizen> 3 </since_tizen>
1951     public enum ScreenOffMode {
1952         /// <summary>
1953         /// The mode which turns the screen off after a timeout.
1954         /// </summary>
1955         Timout,
1956         /// <summary>
1957         /// The mode which keeps the screen turned on.
1958         /// </summary>
1959         Never
1960     }
1961
1962     /// <summary>
1963     /// An enum of notification window's priority level.
1964     /// </summary>
1965     /// <since_tizen> 3 </since_tizen>
1966     public enum NotificationLevel {
1967         /// <summary>
1968         /// No notification level.<br />
1969         /// Default level.<br />
1970         /// This value makes the notification window place in the layer of the normal window.
1971         /// </summary>
1972         None = -1,
1973         /// <summary>
1974         /// The base nofitication level.
1975         /// </summary>
1976         Base = 10,
1977         /// <summary>
1978         /// The medium notification level than base.
1979         /// </summary>
1980         Medium = 20,
1981         /// <summary>
1982         /// The higher notification level than medium.
1983         /// </summary>
1984         High = 30,
1985         /// <summary>
1986         /// The highest notification level.
1987         /// </summary>
1988         Top = 40
1989     }
1990
1991     /// <summary>
1992     /// An enum of window types.
1993     /// </summary>
1994     /// <since_tizen> 3 </since_tizen>
1995     public enum WindowType {
1996         /// <summary>
1997         /// A default window type.<br />
1998         /// Indicates a normal or top-level window.
1999         /// Almost every window will be created with this type.
2000         /// </summary>
2001         Normal,
2002         /// <summary>
2003         /// A notification window, like a warning about battery life or a new email received.
2004         /// </summary>
2005         Notification,
2006         /// <summary>
2007         /// A persistent utility window, like a toolbox or a palette.
2008         /// </summary>
2009         Utility,
2010         /// <summary>
2011         /// Used for simple dialog windows.
2012         /// </summary>
2013         Dialog
2014     }
2015
2016     /// <since_tizen> 3 </since_tizen>
2017     public enum DisposeTypes
2018     {
2019         /// <summary>
2020         /// Called By User
2021         /// </summary>
2022         /// <since_tizen> 3 </since_tizen>
2023         Explicit,
2024         /// <summary>
2025         /// Called by DisposeQueue
2026         /// </summary>
2027         /// <since_tizen> 3 </since_tizen>
2028         Implicit,
2029     }
2030
2031
2032
2033     /// <summary>
2034     /// [Obsolete("Please do not use! this will be deprecated")]
2035     /// </summary>
2036     /// <since_tizen> 3 </since_tizen>
2037     [Obsolete("Please do not use! this will be deprecated")]
2038     public struct AnchorPoint
2039     {
2040         /// <summary>
2041         /// Top
2042         /// </summary>
2043         /// <since_tizen> 3 </since_tizen>
2044         public static float Top
2045         {
2046             get
2047             {
2048                 float ret = NDalicPINVOKE.AnchorPointTop_get();
2049                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2050                 return ret;
2051             }
2052         }
2053         /// <summary>
2054         /// Bottom
2055         /// </summary>
2056         /// <since_tizen> 3 </since_tizen>
2057         public static float Bottom
2058         {
2059             get
2060             {
2061                 float ret = NDalicPINVOKE.AnchorPointBottom_get();
2062                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2063                 return ret;
2064             }
2065         }
2066         /// <summary>
2067         /// Left
2068         /// </summary>
2069         /// <since_tizen> 3 </since_tizen>
2070         public static float Left
2071         {
2072             get
2073             {
2074                 float ret = NDalicPINVOKE.AnchorPointLeft_get();
2075                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2076                 return ret;
2077             }
2078         }
2079         /// <summary>
2080         /// Right
2081         /// </summary>
2082         /// <since_tizen> 3 </since_tizen>
2083         public static float Right
2084         {
2085             get
2086             {
2087                 float ret = NDalicPINVOKE.AnchorPointRight_get();
2088                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2089                 return ret;
2090             }
2091         }
2092         /// <summary>
2093         /// Middle
2094         /// </summary>
2095         /// <since_tizen> 3 </since_tizen>
2096         public static float Middle
2097         {
2098             get
2099             {
2100                 float ret = NDalicPINVOKE.AnchorPointMiddle_get();
2101                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2102                 return ret;
2103             }
2104         }
2105         /// <summary>
2106         /// TopLeft
2107         /// </summary>
2108         /// <since_tizen> 3 </since_tizen>
2109         public static Position TopLeft
2110         {
2111             get
2112             {
2113                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopLeft_get();
2114                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2115                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2116                 return ret;
2117             }
2118         }
2119         /// <summary>
2120         /// TopCenter
2121         /// </summary>
2122         /// <since_tizen> 3 </since_tizen>
2123         public static Position TopCenter
2124         {
2125             get
2126             {
2127                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopCenter_get();
2128                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2129                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2130                 return ret;
2131             }
2132         }
2133         /// <summary>
2134         /// TopRight
2135         /// </summary>
2136         /// <since_tizen> 3 </since_tizen>
2137         public static Position TopRight
2138         {
2139             get
2140             {
2141                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointTopRight_get();
2142                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2143                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2144                 return ret;
2145             }
2146         }
2147         /// <summary>
2148         /// CenterLeft
2149         /// </summary>
2150         /// <since_tizen> 3 </since_tizen>
2151         public static Position CenterLeft
2152         {
2153             get
2154             {
2155                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterLeft_get();
2156                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2157                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2158                 return ret;
2159             }
2160         }
2161         /// <summary>
2162         /// Center
2163         /// </summary>
2164         /// <since_tizen> 3 </since_tizen>
2165         public static Position Center
2166         {
2167             get
2168             {
2169                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenter_get();
2170                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2171                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2172                 return ret;
2173             }
2174         }
2175         /// <summary>
2176         /// CenterRight
2177         /// </summary>
2178         /// <since_tizen> 3 </since_tizen>
2179         public static Position CenterRight
2180         {
2181             get
2182             {
2183                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointCenterRight_get();
2184                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2185                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2186                 return ret;
2187             }
2188         }
2189         /// <summary>
2190         /// BottomLeft
2191         /// </summary>
2192         /// <since_tizen> 3 </since_tizen>
2193         public static Position BottomLeft
2194         {
2195             get
2196             {
2197                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomLeft_get();
2198                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2199                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2200                 return ret;
2201             }
2202         }
2203         /// <summary>
2204         /// BottomCenter
2205         /// </summary>
2206         /// <since_tizen> 3 </since_tizen>
2207         public static Position BottomCenter
2208         {
2209             get
2210             {
2211                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomCenter_get();
2212                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2213                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2214                 return ret;
2215             }
2216         }
2217         /// <summary>
2218         /// BottomRight
2219         /// </summary>
2220         /// <since_tizen> 3 </since_tizen>
2221         public static Position BottomRight
2222         {
2223             get
2224             {
2225                 global::System.IntPtr cPtr = NDalicPINVOKE.AnchorPointBottomRight_get();
2226                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
2227                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
2228                 return ret;
2229             }
2230         }
2231     }
2232
2233     /// <summary>
2234     /// An enum of the scroll state of the text eidtor.
2235     /// </summary>
2236     /// <since_tizen> 3 </since_tizen>
2237     public enum ScrollState
2238     {
2239         /// <summary>
2240         /// Scrolling is started.
2241         /// </summary>
2242         Started,
2243
2244         /// <summary>
2245         /// Scrolling is finished.
2246         /// </summary>
2247         Finished
2248     }
2249
2250      /// <summary>
2251     /// An enum of the line wrap mode of text controls.
2252     /// </summary>
2253     /// <since_tizen> 4 </since_tizen>
2254     public enum LineWrapMode
2255     {
2256         /// <summary>
2257         /// The word mode will move a word to the next line.
2258         /// </summary>
2259         Word,
2260
2261         /// <summary>
2262         /// character will move character by character to the next line.
2263         /// </summary>
2264         Character
2265     }
2266
2267 }