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