9eed615be4597155b5e1e6918fc8f0fda706d01a
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Common / NUIConstants.cs
1 // Copyright (c) 2019 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 using System.Diagnostics.CodeAnalysis;
18
19 namespace Tizen.NUI
20 {
21     /// <summary>
22     /// This specifies all the scroll mode type.
23     /// </summary>
24     /// <since_tizen> 3 </since_tizen>
25     public enum ScrollModeType
26     {
27         /// <summary>
28         /// Whether the content can be scrolled along the X axis or not.
29         /// </summary>
30         /// <since_tizen> 3 </since_tizen>
31         XAxisScrollEnabled,
32         /// <summary>
33         /// When set, causes scroll view to snap to multiples of the
34         /// value of the interval while flicking along the X axis.
35         /// </summary>
36         /// <since_tizen> 3 </since_tizen>
37         XAxisSnapToInterval,
38         /// <summary>
39         /// When set, the scroll view is unable to scroll beyond the
40         /// value of the boundary along the X axis.
41         /// </summary>
42         /// <since_tizen> 3 </since_tizen>
43         XAxisScrollBoundary,
44         /// <summary>
45         /// Whether the content can be scrolled along the Y axis or not.
46         /// </summary>
47         /// <since_tizen> 3 </since_tizen>
48         YAxisScrollEnabled,
49         /// <summary>
50         /// When set, causes scroll view to snap to multiples of the
51         /// value of the interval while flicking along the Y axis.
52         /// </summary>
53         /// <since_tizen> 3 </since_tizen>
54         YAxisSnapToInterval,
55         /// <summary>
56         /// When set, the scroll view is unable to scroll beyond the
57         /// value of the boundary along the Y axis.
58         /// </summary>
59         /// <since_tizen> 3 </since_tizen>
60         YAxisScrollBoundary
61     }
62
63     /// <summary>
64     /// This specifies whether the actor uses its own color or inherits.
65     /// </summary>
66     /// <since_tizen> 3 </since_tizen>
67     public enum ColorMode
68     {
69         /// <summary>
70         /// Actor will use its own color.
71         /// </summary>
72         UseOwnColor,
73         /// <summary>
74         /// Actor will use its parent color.
75         /// </summary>
76         UseParentColor,
77         /// <summary>
78         /// Actor will blend its color with its parents color.
79         /// </summary>
80         UseOwnMultiplyParentColor,
81         /// <summary>
82         /// 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.
83         /// </summary>
84         UseOwnMultiplyParentAlpha
85     }
86
87     /// <summary>
88     /// This specifies the dimension of the width or the height for size negotiation.
89     /// </summary>
90     /// <since_tizen> 3 </since_tizen>
91     public enum DimensionType
92     {
93         /// <summary>
94         /// Width dimension.
95         /// </summary>
96         Width = 0x1,
97         /// <summary>
98         /// Height dimension.
99         /// </summary>
100         Height = 0x2,
101         /// <summary>
102         /// Mask to cover all flags.
103         /// </summary>
104         AllDimensions = 0x3
105     }
106
107     /// <summary>
108     /// Enumeration for the instance of how the actor and it's children will be drawn.
109     /// </summary>
110     /// <since_tizen> 3 </since_tizen>
111     public enum DrawModeType
112     {
113         /// <summary>
114         /// The default draw-mode.
115         /// </summary>
116         [Description("NORMAL")]
117         Normal = 0,
118         /// <summary>
119         /// Draw the actor and its children as an overlay.
120         /// </summary>
121         [Description("OVERLAY_2D")]
122         Overlay2D = 1,
123
124         /// <summary>
125         /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
126         /// </summary>
127         /// <remarks>
128         /// Deprecated.(API Level 6) Not used.
129         /// </remarks>
130         [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")]
131         [Description("STENCIL")]
132         Stencil = 3
133     }
134
135     /// <summary>
136     /// Enumeration for size negotiation resize policies.
137     /// </summary>
138     /// <since_tizen> 3 </since_tizen>
139     public enum ResizePolicyType
140     {
141         /// <summary>
142         /// Size is fixed as set by SetSize.
143         /// </summary>
144         [Description("FIXED")]
145         Fixed,
146         /// <summary>
147         /// Size is to use the actor's natural size.
148         /// </summary>
149         /// <see cref="ViewImpl.GetNaturalSize"/>
150         [Description("USE_NATURAL_SIZE")]
151         UseNaturalSize,
152         /// <summary>
153         /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
154         /// </summary>
155         [Description("FILL_TO_PARENT")]
156         FillToParent,
157         /// <summary>
158         /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
159         /// </summary>
160         [Description("SIZE_RELATIVE_TO_PARENT")]
161         SizeRelativeToParent,
162         /// <summary>
163         /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
164         /// </summary>
165         [Description("SIZE_FIXED_OFFSET_FROM_PARENT")]
166         SizeFixedOffsetFromParent,
167         /// <summary>
168         /// The size will adjust to wrap around all children.
169         /// </summary>
170         [Description("FIT_TO_CHILDREN")]
171         FitToChildren,
172         /// <summary>
173         /// One dimension is dependent on the other.
174         /// </summary>
175         [Description("DIMENSION_DEPENDENCY")]
176         DimensionDependency,
177         /// <summary>
178         /// The size will be assigned to the actor.
179         /// </summary>
180         [Description("USE_ASSIGNED_SIZE")]
181         UseAssignedSize
182     }
183
184     /// <summary>
185     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
186     /// </summary>
187     /// <since_tizen> 3 </since_tizen>
188     public enum SizeScalePolicyType
189     {
190         /// <summary>
191         /// Use the size that was set.
192         /// </summary>
193         [Description("USE_SIZE_SET")]
194         UseSizeSet,
195         /// <summary>
196         /// Fit within the size set maintaining natural size aspect ratio.
197         /// </summary>
198         [Description("FIT_WITH_ASPECT_RATIO")]
199         FitWithAspectRatio,
200         /// <summary>
201         /// Fit within the size set maintaining natural size aspect ratio.
202         /// </summary>
203         [Description("FILL_WITH_ASPECT_RATIO")]
204         FillWithAspectRatio
205     }
206
207     /// <summary>
208     /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
209     /// </summary>
210     /// <since_tizen> 3 </since_tizen>
211     public enum ClippingModeType
212     {
213         /// <summary>
214         /// This actor will not clip its children.
215         /// </summary>
216         Disabled,
217         /// <summary>
218         /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
219         /// </summary>
220         ClipChildren,
221         /// <summary>
222         /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
223         /// </summary>
224         /// <since_tizen> 4 </since_tizen>
225         ClipToBoundingBox
226     }
227
228     /// <summary>
229     /// Enumeration for type determination of how the camera operates.
230     /// </summary>
231     /// <since_tizen> 3 </since_tizen>
232     public enum CameraType
233     {
234         /// <summary>
235         /// Camera orientation is taken from the CameraActor.
236         /// </summary>
237         FreeLook,
238         /// <summary>
239         /// Camera is oriented to always look at a target.
240         /// </summary>
241         LookAtTarget
242     }
243
244     /// <summary>
245     /// Enumeration for the projection modes.
246     /// </summary>
247     /// <since_tizen> 3 </since_tizen>
248     public enum ProjectionMode
249     {
250         /// <summary>
251         /// Distance causes foreshortening; objects further from the camera appear smaller.
252         /// </summary>
253         PerspectiveProjection,
254         /// <summary>
255         /// Relative distance from the camera does not affect the size of objects.
256         /// </summary>
257         OrthographicProjection
258     }
259
260     /// <summary>
261     /// This specifies customView behavior types.
262     /// </summary>
263     /// <since_tizen> 3 </since_tizen>
264     public enum CustomViewBehaviour
265     {
266         /// <summary>
267         /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
268         /// </summary>
269         ViewBehaviourDefault = 0,
270         /// <summary>
271         /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
272         /// </summary>
273         DisableSizeNegotiation = 1 << 0,
274         /// <summary>
275         /// True if OnTouch() callback is required.
276         /// </summary>
277         /// <since_tizen> 6 </since_tizen>
278         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
279         [EditorBrowsable(EditorBrowsableState.Never)]
280         RequiresTouchEventsSupport = 1 << 1,
281         /// <summary>
282         /// True if OnHover() callback is required.
283         /// </summary>
284         /// <since_tizen> 6 </since_tizen>
285         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
286         [EditorBrowsable(EditorBrowsableState.Never)]
287         RequiresHoverEventsSupport = 1 << 2,
288         /// <summary>
289         /// True if OnWheel() callback is required.
290         /// </summary>
291         /// <since_tizen> 6 </since_tizen>
292         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
293         [EditorBrowsable(EditorBrowsableState.Never)]
294         RequiresWheelEventsSupport = 1 << 3,
295         /// <summary>
296         /// Use to provide key navigation support.
297         /// </summary>
298         RequiresKeyboardNavigationSupport = 1 << 5,
299         /// <summary>
300         /// Use to make style change event disabled.
301         /// </summary>
302         DisableStyleChangeSignals = 1 << 6,
303         /// <summary>
304         /// Please do not use! This will be deprecated!
305         /// </summary>
306         /// <since_tizen> 3 </since_tizen>
307         [Obsolete("Please do not use! This will be deprecated!")]
308         [EditorBrowsable(EditorBrowsableState.Never)]
309         LastViewBehaviourFlag
310     }
311
312     /// <summary>
313     /// An enum of Device Class types.
314     /// </summary>
315     /// <since_tizen> 3 </since_tizen>
316     /// Can't fix because it's already used by other GBM.
317     [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
318     public enum DeviceClassType
319     {
320         /// <summary>
321         /// Not a device.
322         /// </summary>
323         /// <since_tizen> 3 </since_tizen>
324         None,
325         /// <summary>
326         /// The user/seat (the user themselves).
327         /// </summary>
328         /// <since_tizen> 3 </since_tizen>
329         Seat,
330         /// <summary>
331         /// A regular keyboard, numberpad or attached buttons.
332         /// </summary>
333         /// <since_tizen> 3 </since_tizen>
334         Keyboard,
335         /// <summary>
336         /// A mouse, trackball or touchpad relative motion device.
337         /// </summary>
338         /// <since_tizen> 3 </since_tizen>
339         Mouse,
340         /// <summary>
341         /// A touchscreen with fingers or stylus.
342         /// </summary>
343         /// <since_tizen> 3 </since_tizen>
344         Touch,
345         /// <summary>
346         /// A special pen device.
347         /// </summary>
348         /// <since_tizen> 3 </since_tizen>
349         Pen,
350         /// <summary>
351         ///  A pointing device based on laser, infrared or similar technology.
352         /// </summary>
353         /// <since_tizen> 3 </since_tizen>
354         Pointer,
355         /// <summary>
356         /// A gamepad controller or joystick.
357         /// </summary>
358         /// <since_tizen> 3 </since_tizen>
359         Gamepad
360     }
361
362     /// <summary>
363     /// An enum of Device Subclass types.
364     /// </summary>
365     /// <since_tizen> 4 </since_tizen>
366     public enum DeviceSubClassType
367     {
368         /// <summary>
369         /// Not a device
370         /// </summary>
371         /// <since_tizen> 4 </since_tizen>
372         None,
373         /// <summary>
374         /// The normal flat of your finger
375         /// </summary>
376         /// <since_tizen> 4 </since_tizen>
377         Finger,
378         /// <summary>
379         /// A fingernail
380         /// </summary>
381         /// <since_tizen> 4 </since_tizen>
382         Fingernail,
383         /// <summary>
384         /// A Knuckle
385         /// </summary>
386         /// <since_tizen> 4 </since_tizen>
387         Knuckle,
388         /// <summary>
389         /// The palm of a users hand
390         /// </summary>
391         /// <since_tizen> 4 </since_tizen>
392         Palm,
393         /// <summary>
394         /// The side of your hand
395         /// </summary>
396         /// <since_tizen> 4 </since_tizen>
397         HandSide,
398         /// <summary>
399         /// The flat of your hand
400         /// </summary>
401         /// <since_tizen> 4 </since_tizen>
402         HandFlat,
403         /// <summary>
404         /// The tip of a pen
405         /// </summary>
406         /// <since_tizen> 4 </since_tizen>
407         PenTip,
408         /// <summary>
409         /// A trackpad style mouse
410         /// </summary>
411         /// <since_tizen> 4 </since_tizen>
412         Trackpad,
413         /// <summary>
414         /// A trackpoint style mouse
415         /// </summary>
416         /// <since_tizen> 4 </since_tizen>
417         Trackpoint,
418         /// <summary>
419         /// A trackball style mouse
420         /// </summary>
421         /// <since_tizen> 4 </since_tizen>
422         Trackball,
423         /// <summary>
424         /// A remote controller
425         /// </summary>
426         /// <since_tizen> 4 </since_tizen>
427         Remocon,
428         /// <summary>
429         /// A virtual keyboard
430         /// </summary>
431         /// <since_tizen> 4 </since_tizen>
432         VirtualKeyboard
433     }
434
435     /// <summary>
436     /// This specifies all the property types.<br />
437     /// Enumeration for the property types supported.
438     /// </summary>
439     /// <since_tizen> 3 </since_tizen>
440     /// Can't fix because it's already used by other GBM.
441     [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
442     public enum PropertyType
443     {
444         /// <summary>
445         /// No type.
446         /// </summary>
447         None,
448         /// <summary>
449         /// A boolean type.
450         /// </summary>
451         Boolean,
452         /// <summary>
453         /// A float type.
454         /// </summary>
455         Float,
456         /// <summary>
457         /// An integer type.
458         /// </summary>
459         Integer,
460         /// <summary>
461         /// A vector array of size=2 with float precision.
462         /// </summary>
463         Vector2,
464         /// <summary>
465         /// A vector array of size=3 with float precision.
466         /// </summary>
467         Vector3,
468         /// <summary>
469         /// A vector array of size=4 with float precision.
470         /// </summary>
471         Vector4,
472         /// <summary>
473         /// A 3x3 matrix.
474         /// </summary>
475         Matrix3,
476         /// <summary>
477         /// A 4x4 matrix.
478         /// </summary>
479         Matrix,
480         /// <summary>
481         /// An integer array of size=4.
482         /// </summary>
483         Rectangle,
484         /// <summary>
485         /// Either a quaternion or an axis angle rotation.
486         /// </summary>
487         Rotation,
488         /// <summary>
489         /// A string type.
490         /// </summary>
491         String,
492         /// <summary>
493         /// An array of PropertyValue.
494         /// </summary>
495         Array,
496         /// <summary>
497         /// A string key to PropertyValue mapping.
498         /// </summary>
499         Map,
500         /// <summary>
501         /// An extents type.
502         /// </summary>
503         /// <since_tizen> 4 </since_tizen>
504         Extents
505     }
506
507     /// <summary>
508     /// This specifies the property access mode types.<br />
509     /// Enumeration for the access mode for custom properties.
510     /// </summary>
511     /// <since_tizen> 3 </since_tizen>
512     public enum PropertyAccessMode
513     {
514         /// <summary>
515         /// If the property is read-only.
516         /// </summary>
517         ReadOnly,
518         /// <summary>
519         /// If the property is read or writeable.
520         /// </summary>
521         ReadWrite,
522         /// <summary>
523         /// If the property can be animated or constrained.
524         /// </summary>
525         Animatable,
526         /// <summary>
527         /// The number of access modes.
528         /// </summary>
529         AccessModeCount
530     }
531
532     /// <summary>
533     /// Types of style change. Enumeration for the StyleChange type.
534     /// </summary>
535     /// <since_tizen> 3 </since_tizen>
536     [Obsolete("Deprecated in API9, Will be removed in API11.")]
537     public enum StyleChangeType
538     {
539         /// <summary>
540         /// Denotes that the default font has changed.
541         /// </summary>
542         [Obsolete("Deprecated in API9, Will be removed in API11.")]
543         DefaultFontChange,
544         /// <summary>
545         /// Denotes that the default font size has changed.
546         /// </summary>
547         [Obsolete("Deprecated in API9, Will be removed in API11.")]
548         DefaultFontSizeChange,
549         /// <summary>
550         /// Denotes that the theme has changed.
551         /// </summary>
552         [Obsolete("Deprecated in API9, Will be removed in API11.")]
553         ThemeChange
554     }
555
556     /// <summary>
557     /// Enumeration for horizontal alignment types.
558     /// </summary>
559     /// <since_tizen> 3 </since_tizen>
560     public enum HorizontalAlignmentType
561     {
562         /// <summary>
563         /// Align horizontally left.
564         /// </summary>
565         [Description("left")]
566         Left,
567         /// <summary>
568         /// Align horizontally center.
569         /// </summary>
570         [Description("center")]
571         Center,
572         /// <summary>
573         /// Align horizontally right.
574         /// </summary>
575         [Description("right")]
576         Right
577     }
578
579     /// <summary>
580     /// Enumeration for vertical alignment types.
581     /// </summary>
582     /// <since_tizen> 3 </since_tizen>
583     public enum VerticalAlignmentType
584     {
585         /// <summary>
586         /// Align vertically top.
587         /// </summary>
588         [Description("top")]
589         Top,
590         /// <summary>
591         /// Align vertically center.
592         /// </summary>
593         [Description("center")]
594         Center,
595         /// <summary>
596         /// Align vertically bottom.
597         /// </summary>
598         [Description("bottom")]
599         Bottom
600     }
601
602     /// <summary>
603     /// Enumeration for point state type.
604     /// </summary>
605     /// <since_tizen> 3 </since_tizen>
606     public enum PointStateType
607     {
608         /// <summary>
609         /// Touch or hover started.
610         /// </summary>
611         Started,
612         /// <summary>
613         /// Touch or hover finished.
614         /// </summary>
615         Finished,
616         /// <summary>
617         /// Screen touched.
618         /// </summary>
619         Down = Started,
620         /// <summary>
621         /// Touch stopped.
622         /// </summary>
623         Up = Finished,
624         /// <summary>
625         /// Finger dragged or hovered.
626         /// </summary>
627         Motion,
628         /// <summary>
629         /// Leave the boundary of an actor.
630         /// </summary>
631         Leave,
632         /// <summary>
633         /// No change from last event. <br />
634         /// 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.
635         /// </summary>
636         Stationary,
637         /// <summary>
638         /// A system event has occurred which has interrupted the touch or hover event sequence.
639         /// </summary>
640         Interrupted
641     }
642
643     /// <summary>
644     /// The type for HiddenInput mode.
645     /// </summary>
646     /// <since_tizen> 3 </since_tizen>
647     public enum HiddenInputModeType
648     {
649         /// <summary>
650         /// Don't hide text.
651         /// </summary>
652         HideNone,
653         /// <summary>
654         /// Hide all the input text.
655         /// </summary>
656         HideAll,
657         /// <summary>
658         /// Hide n characters from start.
659         /// </summary>
660         HideCount,
661         /// <summary>
662         /// Show n characters from start.
663         /// </summary>
664         ShowCount,
665         /// <summary>
666         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
667         /// </summary>
668         ShowLastCharacter
669     }
670
671     /// <summary>
672     /// Auto scrolling stop behavior.
673     /// </summary>
674     /// <since_tizen> 3 </since_tizen>
675     public enum AutoScrollStopMode
676     {
677         /// <summary>
678         /// Stop animation after current loop finished.
679         /// </summary>
680         [Description("FINISH_LOOP")]
681         FinishLoop,
682         /// <summary>
683         /// Stop animation immediately and reset position.
684         /// </summary>
685         [Description("IMMEDIATE")]
686         Immediate
687     }
688
689     /// <summary>
690     /// An enum of screen mode.
691     /// </summary>
692     /// <since_tizen> 4 </since_tizen>
693     public enum ScreenOffMode
694     {
695         /// <summary>
696         /// The mode which turns the screen off after a timeout.
697         /// </summary>
698         Timout,
699         /// <summary>
700         /// The mode which keeps the screen turned on.
701         /// </summary>
702         Never
703     }
704
705     /// <summary>
706     /// An enum of notification window's priority level.
707     /// </summary>
708     /// <since_tizen> 3 </since_tizen>
709     public enum NotificationLevel
710     {
711         /// <summary>
712         /// No notification level.<br />
713         /// Default level.<br />
714         /// This value makes the notification window place in the layer of the normal window.
715         /// </summary>
716         None = -1,
717         /// <summary>
718         /// The base notification level.
719         /// </summary>
720         Base = 10,
721         /// <summary>
722         /// The medium notification level than base.
723         /// </summary>
724         Medium = 20,
725         /// <summary>
726         /// The higher notification level than medium.
727         /// </summary>
728         High = 30,
729         /// <summary>
730         /// The highest notification level.
731         /// </summary>
732         Top = 40
733     }
734
735     /// <summary>
736     /// An enum of window types.
737     /// </summary>
738     /// <since_tizen> 3 </since_tizen>
739     public enum WindowType
740     {
741         /// <summary>
742         /// A default window type.<br />
743         /// Indicates a normal or top-level window.
744         /// Almost every window will be created with this type.
745         /// </summary>
746         Normal,
747         /// <summary>
748         /// A notification window, like a warning about battery life or a new email received.
749         /// </summary>
750         Notification,
751         /// <summary>
752         /// A persistent utility window, like a toolbox or a palette.
753         /// </summary>
754         Utility,
755         /// <summary>
756         /// Used for simple dialog windows.
757         /// </summary>
758         Dialog
759     }
760
761     /// <since_tizen> 3 </since_tizen>
762     [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
763     public enum DisposeTypes
764     {
765         /// <summary>
766         /// Called By User
767         /// </summary>
768         /// <since_tizen> 3 </since_tizen>
769         Explicit,
770         /// <summary>
771         /// Called by DisposeQueue
772         /// </summary>
773         /// <since_tizen> 3 </since_tizen>
774         Implicit,
775     }
776
777     /// <summary>
778     /// An enum of the scroll state of the text editor.
779     /// </summary>
780     /// <since_tizen> 3 </since_tizen>
781     public enum ScrollState
782     {
783         /// <summary>
784         /// Scrolling is started.
785         /// </summary>
786         Started,
787
788         /// <summary>
789         /// Scrolling is finished.
790         /// </summary>
791         Finished
792     }
793
794     /// <summary>
795     /// An enum of the line wrap mode of text controls.
796     /// </summary>
797     /// <since_tizen> 4 </since_tizen>
798     public enum LineWrapMode
799     {
800         /// <summary>
801         /// The word mode will move a word to the next line.
802         /// </summary>
803         /// <since_tizen> 4 </since_tizen>
804         Word,
805
806         /// <summary>
807         /// character will move character by character to the next line.
808         /// </summary>
809         /// <since_tizen> 4 </since_tizen>
810         Character,
811
812         /// <summary>
813         /// Hyphenation mode will move part of the word (at possible hyphen locations)
814         /// to the next line and draw a hyphen at the end of the line.
815         /// </summary>
816         [EditorBrowsable(EditorBrowsableState.Never)]
817         Hyphenation,
818
819         /// <summary>
820         /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
821         /// </summary>
822         [EditorBrowsable(EditorBrowsableState.Never)]
823         Mixed
824     }
825
826     /// <summary>
827     /// An enum of text directions.
828     /// </summary>
829     /// <since_tizen> 5 </since_tizen>
830     public enum TextDirection
831     {
832         /// <summary>
833         /// Text direction is from left to right.
834         /// </summary>
835         /// <since_tizen> 5 </since_tizen>
836         LeftToRight,
837
838         /// <summary>
839         /// Text direction is from right to left.
840         /// </summary>
841         /// <since_tizen> 5 </since_tizen>
842         RightToLeft
843     }
844
845     /// <summary>
846     /// An enum of vertical line alignments.
847     /// </summary>
848     /// <since_tizen> 5 </since_tizen>
849     public enum VerticalLineAlignment
850     {
851         /// <summary>
852         /// vertical line alignment is from top.
853         /// </summary>
854         /// <since_tizen> 5 </since_tizen>
855         Top,
856
857         /// <summary>
858         /// vertical line alignment is from center.
859         /// </summary>
860         /// <since_tizen> 5 </since_tizen>
861         Center,
862
863         /// <summary>
864         /// vertical line alignment is from bottom.
865         /// </summary>
866         /// <since_tizen> 5 </since_tizen>
867         Bottom
868     }
869
870     /// <summary>
871     /// Enumeration type for the font's slant.
872     /// </summary>
873     /// <since_tizen> 5 </since_tizen>
874     public enum FontSlantType
875     {
876         /// <summary>
877         /// None.
878         /// </summary>
879         /// <since_tizen> 5 </since_tizen>
880         None,
881         /// <summary>
882         /// Normal.
883         /// </summary>
884         /// <since_tizen> 5 </since_tizen>
885         Normal,
886         /// <summary>
887         /// Roman.
888         /// </summary>
889         /// <since_tizen> 5 </since_tizen>
890         Roman = Normal,
891         /// <summary>
892         /// Italic.
893         /// </summary>
894         /// <since_tizen> 5 </since_tizen>
895         Italic,
896         /// <summary>
897         /// Oblique.
898         /// </summary>
899         /// <since_tizen> 5 </since_tizen>
900         Oblique
901     }
902
903     /// <summary>
904     /// Enumeration type for the font's weight.
905     /// </summary>
906     /// <since_tizen> 5 </since_tizen>
907     public enum FontWeightType
908     {
909         /// <summary>
910         /// None.
911         /// </summary>
912         /// <since_tizen> 5 </since_tizen>
913         None,
914         /// <summary>
915         /// Thin.
916         /// </summary>
917         /// <since_tizen> 5 </since_tizen>
918         Thin,
919         /// <summary>
920         /// UltraLight.
921         /// </summary>
922         /// <since_tizen> 5 </since_tizen>
923         UltraLight,
924         /// <summary>
925         /// ExtraLight.
926         /// </summary>
927         /// <since_tizen> 5 </since_tizen>
928         ExtraLight = UltraLight,
929         /// <summary>
930         /// Light.
931         /// </summary>
932         /// <since_tizen> 5 </since_tizen>
933         Light,
934         /// <summary>
935         /// DemiLight.
936         /// </summary>
937         /// <since_tizen> 5 </since_tizen>
938         DemiLight,
939         /// <summary>
940         /// SemiLight.
941         /// </summary>
942         /// <since_tizen> 5 </since_tizen>
943         SemiLight = DemiLight,
944         /// <summary>
945         /// Book.
946         /// </summary>
947         /// <since_tizen> 5 </since_tizen>
948         Book,
949         /// <summary>
950         /// Normal.
951         /// </summary>
952         /// <since_tizen> 5 </since_tizen>
953         Normal,
954         /// <summary>
955         /// Regular.
956         /// </summary>
957         /// <since_tizen> 5 </since_tizen>
958         Regular = Normal,
959         /// <summary>
960         /// Medium.
961         /// </summary>
962         /// <since_tizen> 5 </since_tizen>
963         Medium,
964         /// <summary>
965         /// DemiBold.
966         /// </summary>
967         /// <since_tizen> 5 </since_tizen>
968         DemiBold,
969         /// <summary>
970         /// SemiBold.
971         /// </summary>
972         /// <since_tizen> 5 </since_tizen>
973         SemiBold = DemiBold,
974         /// <summary>
975         /// Bold.
976         /// </summary>
977         /// <since_tizen> 5 </since_tizen>
978         Bold,
979         /// <summary>
980         /// UltraBold.
981         /// </summary>
982         /// <since_tizen> 5 </since_tizen>
983         UltraBold,
984         /// <summary>
985         /// ExtraBold.
986         /// </summary>
987         /// <since_tizen> 5 </since_tizen>
988         ExtraBold = UltraBold,
989         /// <summary>
990         /// Black.
991         /// </summary>
992         /// <since_tizen> 5 </since_tizen>
993         Black,
994         /// <summary>
995         /// Heavy.
996         /// </summary>
997         /// <since_tizen> 5 </since_tizen>
998         Heavy = Black,
999         /// <summary>
1000         /// ExtraBlack.
1001         /// </summary>
1002         /// <since_tizen> 5 </since_tizen>
1003         ExtraBlack = Black
1004     }
1005
1006     /// <summary>
1007     /// Enumeration type for the font's width.
1008     /// </summary>
1009     /// <since_tizen> 5 </since_tizen>
1010     public enum FontWidthType
1011     {
1012         /// <summary>
1013         /// None.
1014         /// </summary>
1015         /// <since_tizen> 5 </since_tizen>
1016         None,
1017         /// <summary>
1018         /// UltraCondensed.
1019         /// </summary>
1020         /// <since_tizen> 5 </since_tizen>
1021         UltraCondensed,
1022         /// <summary>
1023         /// ExtraCondensed.
1024         /// </summary>
1025         /// <since_tizen> 5 </since_tizen>
1026         ExtraCondensed,
1027         /// <summary>
1028         /// Condensed.
1029         /// </summary>
1030         /// <since_tizen> 5 </since_tizen>
1031         Condensed,
1032         /// <summary>
1033         /// SemiCondensed.
1034         /// </summary>
1035         /// <since_tizen> 5 </since_tizen>
1036         SemiCondensed,
1037         /// <summary>
1038         /// Normal.
1039         /// </summary>
1040         /// <since_tizen> 5 </since_tizen>
1041         Normal,
1042         /// <summary>
1043         /// SemiExpanded.
1044         /// </summary>
1045         /// <since_tizen> 5 </since_tizen>
1046         SemiExpanded,
1047         /// <summary>
1048         /// Expanded.
1049         /// </summary>
1050         /// <since_tizen> 5 </since_tizen>
1051         Expanded,
1052         /// <summary>
1053         /// ExtraExpanded.
1054         /// </summary>
1055         /// <since_tizen> 5 </since_tizen>
1056         ExtraExpanded,
1057         /// <summary>
1058         /// UltraExpanded.
1059         /// </summary>
1060         /// <since_tizen> 5 </since_tizen>
1061         UltraExpanded
1062     }
1063
1064     /// <summary>
1065     /// Enumeration type for the glyph type.
1066     /// </summary>
1067     /// <since_tizen> 5 </since_tizen>
1068     public enum GlyphType
1069     {
1070         /// <summary>
1071         /// Glyph stored as pixels.
1072         /// </summary>
1073         /// <since_tizen> 5 </since_tizen>
1074         BitmapGlyph,
1075         /// <summary>
1076         /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1077         /// </summary>
1078         /// <since_tizen> 5 </since_tizen>
1079         VectorGlyph
1080     }
1081
1082     /// <summary>
1083     /// Enumeration for Setting the rendering behavior of a Window.
1084     /// </summary>
1085     /// <since_tizen> 5 </since_tizen>
1086     public enum RenderingBehaviorType
1087     {
1088         /// <summary>
1089         /// Default. Only renders if required.
1090         /// </summary>
1091         IfRequired,
1092         /// <summary>
1093         /// Renders continuously.
1094         /// </summary>
1095         Continuously
1096     }
1097
1098     /// <summary>
1099     /// The HiddenInput property.
1100     /// </summary>
1101     /// <since_tizen> 3 </since_tizen>
1102     public struct HiddenInputProperty
1103     {
1104         /// <summary>
1105         /// The mode for input text display.
1106         /// </summary>
1107         /// <since_tizen> 3 </since_tizen>
1108         public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1109         /// <summary>
1110         /// All input characters are substituted by this character.
1111         /// </summary>
1112         /// <since_tizen> 3 </since_tizen>
1113         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1114         /// <summary>
1115         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1116         /// </summary>
1117         /// <since_tizen> 3 </since_tizen>
1118         public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1119         /// <summary>
1120         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1121         /// </summary>
1122         /// <since_tizen> 4 </since_tizen>
1123         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1124     }
1125
1126     /// <summary>
1127     /// ParentOrigin constants.
1128     /// </summary>
1129     /// <since_tizen> 3 </since_tizen>
1130     public struct ParentOrigin
1131     {
1132         /// <summary>
1133         /// Top
1134         /// </summary>
1135         /// <since_tizen> 3 </since_tizen>
1136         public static float Top
1137         {
1138             get
1139             {
1140                 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1141                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1142                 return ret;
1143             }
1144         }
1145
1146         /// <summary>
1147         /// Bottom
1148         /// </summary>
1149         /// <since_tizen> 3 </since_tizen>
1150         public static float Bottom
1151         {
1152             get
1153             {
1154                 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1155                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1156                 return ret;
1157             }
1158         }
1159
1160         /// <summary>
1161         /// Left
1162         /// </summary>
1163         /// <since_tizen> 3 </since_tizen>
1164         public static float Left
1165         {
1166             get
1167             {
1168                 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1169                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1170                 return ret;
1171             }
1172         }
1173
1174         /// <summary>
1175         /// Right
1176         /// </summary>
1177         /// <since_tizen> 3 </since_tizen>
1178         public static float Right
1179         {
1180             get
1181             {
1182                 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1183                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1184                 return ret;
1185             }
1186         }
1187
1188         /// <summary>
1189         /// Middle
1190         /// </summary>
1191         /// <since_tizen> 3 </since_tizen>
1192         public static float Middle
1193         {
1194             get
1195             {
1196                 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1197                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1198                 return ret;
1199             }
1200         }
1201
1202         /// <summary>
1203         /// TopLeft
1204         /// </summary>
1205         /// <since_tizen> 3 </since_tizen>
1206         public static Position TopLeft
1207         {
1208             get
1209             {
1210                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1211                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1212                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1213                 return ret;
1214             }
1215         }
1216
1217         /// <summary>
1218         /// TopCenter
1219         /// </summary>
1220         /// <since_tizen> 3 </since_tizen>
1221         public static Position TopCenter
1222         {
1223             get
1224             {
1225                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1226                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1227                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1228                 return ret;
1229             }
1230         }
1231
1232         /// <summary>
1233         /// TopRight
1234         /// </summary>
1235         /// <since_tizen> 3 </since_tizen>
1236         public static Position TopRight
1237         {
1238             get
1239             {
1240                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1241                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1242                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1243                 return ret;
1244             }
1245         }
1246
1247         /// <summary>
1248         /// CenterLeft
1249         /// </summary>
1250         /// <since_tizen> 3 </since_tizen>
1251         public static Position CenterLeft
1252         {
1253             get
1254             {
1255                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1256                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1257                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1258                 return ret;
1259             }
1260         }
1261
1262         /// <summary>
1263         /// Center
1264         /// </summary>
1265         /// <since_tizen> 3 </since_tizen>
1266         public static Position Center
1267         {
1268             get
1269             {
1270                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1271                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1272                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1273                 return ret;
1274             }
1275         }
1276
1277         /// <summary>
1278         /// CenterRight
1279         /// </summary>
1280         /// <since_tizen> 3 </since_tizen>
1281         public static Position CenterRight
1282         {
1283             get
1284             {
1285                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1286                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1287                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1288                 return ret;
1289             }
1290         }
1291
1292         /// <summary>
1293         /// BottomLeft
1294         /// </summary>
1295         /// <since_tizen> 3 </since_tizen>
1296         public static Position BottomLeft
1297         {
1298             get
1299             {
1300                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1301                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1302                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1303                 return ret;
1304             }
1305         }
1306
1307         /// <summary>
1308         /// BottomCenter
1309         /// </summary>
1310         /// <since_tizen> 3 </since_tizen>
1311         public static Position BottomCenter
1312         {
1313             get
1314             {
1315                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1316                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1317                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1318                 return ret;
1319             }
1320         }
1321
1322         /// <summary>
1323         /// BottomRight
1324         /// </summary>
1325         /// <since_tizen> 3 </since_tizen>
1326         public static Position BottomRight
1327         {
1328             get
1329             {
1330                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1331                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1332                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1333                 return ret;
1334             }
1335         }
1336     }
1337
1338     /// <summary>
1339     /// PivotPoint constants.
1340     /// </summary>
1341     /// <since_tizen> 3 </since_tizen>
1342     public struct PivotPoint
1343     {
1344         /// <summary>
1345         /// Top
1346         /// </summary>
1347         /// <since_tizen> 3 </since_tizen>
1348         public static float Top
1349         {
1350             get
1351             {
1352                 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1353                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1354                 return ret;
1355             }
1356         }
1357         /// <summary>
1358         /// Bottom
1359         /// </summary>
1360         /// <since_tizen> 3 </since_tizen>
1361         public static float Bottom
1362         {
1363             get
1364             {
1365                 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1366                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1367                 return ret;
1368             }
1369         }
1370         /// <summary>
1371         /// Left
1372         /// </summary>
1373         /// <since_tizen> 3 </since_tizen>
1374         public static float Left
1375         {
1376             get
1377             {
1378                 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1379                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1380                 return ret;
1381             }
1382         }
1383         /// <summary>
1384         /// Right
1385         /// </summary>
1386         /// <since_tizen> 3 </since_tizen>
1387         public static float Right
1388         {
1389             get
1390             {
1391                 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1392                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1393                 return ret;
1394             }
1395         }
1396         /// <summary>
1397         /// Middle
1398         /// </summary>
1399         /// <since_tizen> 3 </since_tizen>
1400         public static float Middle
1401         {
1402             get
1403             {
1404                 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1405                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1406                 return ret;
1407             }
1408         }
1409         /// <summary>
1410         /// TopLeft
1411         /// </summary>
1412         /// <since_tizen> 3 </since_tizen>
1413         public static Position TopLeft
1414         {
1415             get
1416             {
1417                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1418                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1419                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1420                 return ret;
1421             }
1422         }
1423         /// <summary>
1424         /// TopCenter
1425         /// </summary>
1426         /// <since_tizen> 3 </since_tizen>
1427         public static Position TopCenter
1428         {
1429             get
1430             {
1431                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1432                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1433                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1434                 return ret;
1435             }
1436         }
1437         /// <summary>
1438         /// TopRight
1439         /// </summary>
1440         /// <since_tizen> 3 </since_tizen>
1441         public static Position TopRight
1442         {
1443             get
1444             {
1445                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1446                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1447                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1448                 return ret;
1449             }
1450         }
1451         /// <summary>
1452         /// CenterLeft
1453         /// </summary>
1454         /// <since_tizen> 3 </since_tizen>
1455         public static Position CenterLeft
1456         {
1457             get
1458             {
1459                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1460                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1461                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1462                 return ret;
1463             }
1464         }
1465         /// <summary>
1466         /// Center
1467         /// </summary>
1468         /// <since_tizen> 3 </since_tizen>
1469         public static Position Center
1470         {
1471             get
1472             {
1473                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1474                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1475                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1476                 return ret;
1477             }
1478         }
1479         /// <summary>
1480         /// CenterRight
1481         /// </summary>
1482         /// <since_tizen> 3 </since_tizen>
1483         public static Position CenterRight
1484         {
1485             get
1486             {
1487                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1488                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1489                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1490                 return ret;
1491             }
1492         }
1493         /// <summary>
1494         /// BottomLeft
1495         /// </summary>
1496         /// <since_tizen> 3 </since_tizen>
1497         public static Position BottomLeft
1498         {
1499             get
1500             {
1501                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1502                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1503                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1504                 return ret;
1505             }
1506         }
1507         /// <summary>
1508         /// BottomCenter
1509         /// </summary>
1510         /// <since_tizen> 3 </since_tizen>
1511         public static Position BottomCenter
1512         {
1513             get
1514             {
1515                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1516                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1517                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1518                 return ret;
1519             }
1520         }
1521         /// <summary>
1522         /// BottomRight
1523         /// </summary>
1524         /// <since_tizen> 3 </since_tizen>
1525         public static Position BottomRight
1526         {
1527             get
1528             {
1529                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1530                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1531                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1532                 return ret;
1533             }
1534         }
1535     }
1536     /// <summary>
1537     /// PositionAxis constants.
1538     /// </summary>
1539     /// <since_tizen> 3 </since_tizen>
1540     public struct PositionAxis
1541     {
1542         /// <summary>
1543         /// The X axis
1544         /// </summary>
1545         /// <since_tizen> 3 </since_tizen>
1546         public static Position X
1547         {
1548             get
1549             {
1550                 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1551                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1552                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1553                 return ret;
1554             }
1555         }
1556         /// <summary>
1557         /// The Y axis
1558         /// </summary>
1559         /// <since_tizen> 3 </since_tizen>
1560         public static Position Y
1561         {
1562             get
1563             {
1564                 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1565                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1566                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1567                 return ret;
1568             }
1569         }
1570         /// <summary>
1571         /// The Z axis
1572         /// </summary>
1573         /// <since_tizen> 3 </since_tizen>
1574         public static Position Z
1575         {
1576             get
1577             {
1578                 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1579                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1580                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1581                 return ret;
1582             }
1583         }
1584         /// <summary>
1585         /// The Negative X axis
1586         /// </summary>
1587         /// <since_tizen> 3 </since_tizen>
1588         public static Position NegativeX
1589         {
1590             get
1591             {
1592                 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1593                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1594                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1595                 return ret;
1596             }
1597         }
1598         /// <summary>
1599         /// The Negative Y axis
1600         /// </summary>
1601         /// <since_tizen> 3 </since_tizen>
1602         public static Position NegativeY
1603         {
1604             get
1605             {
1606                 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1607                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1608                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1609                 return ret;
1610             }
1611         }
1612         /// <summary>
1613         /// The Negative Z axis
1614         /// </summary>
1615         /// <since_tizen> 3 </since_tizen>
1616         public static Position NegativeZ
1617         {
1618             get
1619             {
1620                 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1621                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1622                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1623                 return ret;
1624             }
1625         }
1626     }
1627
1628     /// <summary>
1629     /// [Obsolete("Please do not use! this will be deprecated")]
1630     /// </summary>
1631     /// <since_tizen> 3 </since_tizen>
1632     [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1633     [EditorBrowsable(EditorBrowsableState.Never)]
1634     public struct AnchorPoint
1635     {
1636         /// <summary>
1637         /// Top
1638         /// </summary>
1639         /// <since_tizen> 3 </since_tizen>
1640         public static float Top
1641         {
1642             get
1643             {
1644                 return PivotPoint.Top;
1645             }
1646         }
1647         /// <summary>
1648         /// Bottom
1649         /// </summary>
1650         /// <since_tizen> 3 </since_tizen>
1651         public static float Bottom
1652         {
1653             get
1654             {
1655                 return PivotPoint.Bottom;
1656             }
1657         }
1658         /// <summary>
1659         /// Left
1660         /// </summary>
1661         /// <since_tizen> 3 </since_tizen>
1662         public static float Left
1663         {
1664             get
1665             {
1666                 return PivotPoint.Left;
1667             }
1668         }
1669         /// <summary>
1670         /// Right
1671         /// </summary>
1672         /// <since_tizen> 3 </since_tizen>
1673         public static float Right
1674         {
1675             get
1676             {
1677                 return PivotPoint.Right;
1678             }
1679         }
1680         /// <summary>
1681         /// Middle
1682         /// </summary>
1683         /// <since_tizen> 3 </since_tizen>
1684         public static float Middle
1685         {
1686             get
1687             {
1688                 return PivotPoint.Middle;
1689             }
1690         }
1691         /// <summary>
1692         /// TopLeft
1693         /// </summary>
1694         /// <since_tizen> 3 </since_tizen>
1695         public static Position TopLeft
1696         {
1697             get
1698             {
1699                 return PivotPoint.TopLeft;
1700             }
1701         }
1702         /// <summary>
1703         /// TopCenter
1704         /// </summary>
1705         /// <since_tizen> 3 </since_tizen>
1706         public static Position TopCenter
1707         {
1708             get
1709             {
1710                 return PivotPoint.TopCenter;
1711             }
1712         }
1713         /// <summary>
1714         /// TopRight
1715         /// </summary>
1716         /// <since_tizen> 3 </since_tizen>
1717         public static Position TopRight
1718         {
1719             get
1720             {
1721                 return PivotPoint.TopRight;
1722             }
1723         }
1724         /// <summary>
1725         /// CenterLeft
1726         /// </summary>
1727         /// <since_tizen> 3 </since_tizen>
1728         public static Position CenterLeft
1729         {
1730             get
1731             {
1732                 return PivotPoint.CenterLeft;
1733             }
1734         }
1735         /// <summary>
1736         /// Center
1737         /// </summary>
1738         /// <since_tizen> 3 </since_tizen>
1739         public static Position Center
1740         {
1741             get
1742             {
1743                 return PivotPoint.Center;
1744             }
1745         }
1746         /// <summary>
1747         /// CenterRight
1748         /// </summary>
1749         /// <since_tizen> 3 </since_tizen>
1750         public static Position CenterRight
1751         {
1752             get
1753             {
1754                 return PivotPoint.CenterRight;
1755             }
1756         }
1757         /// <summary>
1758         /// BottomLeft
1759         /// </summary>
1760         /// <since_tizen> 3 </since_tizen>
1761         public static Position BottomLeft
1762         {
1763             get
1764             {
1765                 return PivotPoint.BottomLeft;
1766             }
1767         }
1768         /// <summary>
1769         /// BottomCenter
1770         /// </summary>
1771         /// <since_tizen> 3 </since_tizen>
1772         public static Position BottomCenter
1773         {
1774             get
1775             {
1776                 return PivotPoint.BottomCenter;
1777             }
1778         }
1779         /// <summary>
1780         /// BottomRight
1781         /// </summary>
1782         /// <since_tizen> 3 </since_tizen>
1783         public static Position BottomRight
1784         {
1785             get
1786             {
1787                 return PivotPoint.BottomRight;
1788             }
1789         }
1790     }
1791
1792     /// <summary>
1793     /// Enumeration for setting cache model of a WebView.
1794     /// </summary>
1795     [EditorBrowsable(EditorBrowsableState.Never)]
1796     public enum CacheModel
1797     {
1798         /// <summary>
1799         /// Use the smallest cache capacity.
1800         /// </summary>
1801         DocumentViewer,
1802         /// <summary>
1803         /// Use the bigger cache capacity than DocumentBrowser.
1804         /// </summary>
1805         DocumentBrowser,
1806         /// <summary>
1807         /// Use the biggest cache capacity.
1808         /// </summary>
1809         PrimaryWebBrowser
1810     }
1811
1812     /// <summary>
1813     /// Enumeration for setting cache model of a WebView.
1814     /// </summary>
1815     [EditorBrowsable(EditorBrowsableState.Never)]
1816     public enum CookieAcceptPolicy
1817     {
1818         /// <summary>
1819         /// Accepts every cookie sent from any page.
1820         /// </summary>
1821         Always,
1822         /// <summary>
1823         /// Rejects all the cookies.
1824         /// </summary>
1825         Never,
1826         /// <summary>
1827         /// Accepts only cookies set by the main document that is loaded.
1828         /// </summary>
1829         NoThirdParty
1830     }
1831
1832     /// <summary>
1833     /// FontSizeScale constant.
1834     /// </summary>
1835     /// <since_tizen> 9 </since_tizen>
1836     public struct FontSizeScale
1837     {
1838         /// <summary>
1839         /// UseSystemSetting
1840         /// </summary>
1841         /// <since_tizen> 9 </since_tizen>
1842         public const float UseSystemSetting = -1.0f;
1843     }
1844
1845     /// <summary>
1846     /// Offset has left, right, bottom, top value.
1847     /// </summary>
1848     [EditorBrowsable(EditorBrowsableState.Never)]
1849     public struct Offset
1850     {
1851         /// <summary>
1852         /// Constructor
1853         /// </summary>
1854         /// <param name="left">left offset</param>
1855         /// <param name="right">right offset</param>
1856         /// <param name="bottom">bottom offset</param>
1857         /// <param name="top">top offset</param>
1858         [EditorBrowsable(EditorBrowsableState.Never)]
1859         public Offset(int left, int right, int bottom, int top)
1860         {
1861             Left = left;
1862             Right = right;
1863             Bottom = bottom;
1864             Top = top;
1865         }
1866
1867         /// <summary>
1868         /// Left
1869         /// </summary>
1870         [EditorBrowsable(EditorBrowsableState.Never)]
1871         public int Left {get; set;}
1872
1873         /// <summary>
1874         /// Right
1875         /// </summary>
1876         [EditorBrowsable(EditorBrowsableState.Never)]
1877         public int Right {get; set;}
1878
1879         /// <summary>
1880         /// Bottom
1881         /// </summary>
1882         [EditorBrowsable(EditorBrowsableState.Never)]
1883         public int Bottom {get; set;}
1884
1885         /// <summary>
1886         /// Top
1887         /// </summary>
1888         [EditorBrowsable(EditorBrowsableState.Never)]
1889         public int Top {get; set;}
1890
1891     }
1892
1893     /// <summary>
1894     /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1895     /// Internal use only. Do not open this API.
1896     /// </summary>
1897     internal struct FrameworkInformation
1898     {
1899         public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1900     }
1901
1902     /// <summary>
1903     /// This Enumeration is used the GLES version for EGL configuration.<br />
1904     /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1905     /// It is for GLWindow and GLView.<br />
1906     /// </summary>
1907     [EditorBrowsable(EditorBrowsableState.Never)]
1908     public enum GLESVersion
1909     {
1910       /// <summary>
1911       /// GLES version 2.0
1912       /// </summary>
1913       [EditorBrowsable(EditorBrowsableState.Never)]
1914       Version20 = 0,
1915
1916       /// <summary>
1917       /// GLES version 3.0
1918       /// </summary>
1919       [EditorBrowsable(EditorBrowsableState.Never)]
1920       Version30
1921     }
1922
1923     /// <summary>
1924     /// Enumeration for rendering mode
1925     /// This Enumeration is used to choose the rendering mode.
1926     /// It has two options.
1927     /// One of them is continuous mode. It is rendered continuously.
1928     /// The other is on demand mode. It is rendered by application.
1929     /// It is for GLWindow and GLView.
1930     /// </summary>
1931     [EditorBrowsable(EditorBrowsableState.Never)]
1932     public enum GLRenderingMode
1933     {
1934       /// <summary>
1935       /// continuous mode
1936       /// </summary>
1937       [EditorBrowsable(EditorBrowsableState.Never)]
1938       Continuous = 0,
1939
1940       /// <summary>
1941       /// on demand by application
1942       /// </summary>
1943       [EditorBrowsable(EditorBrowsableState.Never)]
1944       OnDemand = 1
1945     }
1946 }