[NUI] Open Text InputFilter APIs
[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         /// <summary>
184         /// The size always equal with parent even parent has size animation.
185         /// Note : This Property only working without layout. If layout is setup, Undefined Behavior
186         /// </summary>
187         /// <remarks>Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.</remarks>
188         [EditorBrowsable(EditorBrowsableState.Never)]
189         KeepSizeFollowingParent
190     }
191
192     /// <summary>
193     /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
194     /// </summary>
195     /// <since_tizen> 3 </since_tizen>
196     public enum SizeScalePolicyType
197     {
198         /// <summary>
199         /// Use the size that was set.
200         /// </summary>
201         [Description("USE_SIZE_SET")]
202         UseSizeSet,
203         /// <summary>
204         /// Fit within the size set maintaining natural size aspect ratio.
205         /// </summary>
206         [Description("FIT_WITH_ASPECT_RATIO")]
207         FitWithAspectRatio,
208         /// <summary>
209         /// Fit within the size set maintaining natural size aspect ratio.
210         /// </summary>
211         [Description("FILL_WITH_ASPECT_RATIO")]
212         FillWithAspectRatio
213     }
214
215     /// <summary>
216     /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
217     /// </summary>
218     /// <since_tizen> 3 </since_tizen>
219     public enum ClippingModeType
220     {
221         /// <summary>
222         /// This actor will not clip its children.
223         /// </summary>
224         Disabled,
225         /// <summary>
226         /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
227         /// </summary>
228         ClipChildren,
229         /// <summary>
230         /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
231         /// </summary>
232         /// <since_tizen> 4 </since_tizen>
233         ClipToBoundingBox
234     }
235
236     /// <summary>
237     /// Enumeration for type determination of how the camera operates.
238     /// </summary>
239     /// <since_tizen> 3 </since_tizen>
240     public enum CameraType
241     {
242         /// <summary>
243         /// Camera orientation is taken from the CameraActor.
244         /// </summary>
245         FreeLook,
246         /// <summary>
247         /// Camera is oriented to always look at a target.
248         /// </summary>
249         LookAtTarget
250     }
251
252     /// <summary>
253     /// Enumeration for the projection modes.
254     /// </summary>
255     /// <since_tizen> 3 </since_tizen>
256     public enum ProjectionMode
257     {
258         /// <summary>
259         /// Distance causes foreshortening; objects further from the camera appear smaller.
260         /// </summary>
261         PerspectiveProjection,
262         /// <summary>
263         /// Relative distance from the camera does not affect the size of objects.
264         /// </summary>
265         OrthographicProjection
266     }
267
268     /// <summary>
269     /// This specifies customView behavior types.
270     /// </summary>
271     /// <since_tizen> 3 </since_tizen>
272     public enum CustomViewBehaviour
273     {
274         /// <summary>
275         /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
276         /// </summary>
277         ViewBehaviourDefault = 0,
278         /// <summary>
279         /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
280         /// </summary>
281         DisableSizeNegotiation = 1 << 0,
282         /// <summary>
283         /// True if OnTouch() callback is required.
284         /// </summary>
285         /// <since_tizen> 6 </since_tizen>
286         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
287         [EditorBrowsable(EditorBrowsableState.Never)]
288         RequiresTouchEventsSupport = 1 << 1,
289         /// <summary>
290         /// True if OnHover() callback is required.
291         /// </summary>
292         /// <since_tizen> 6 </since_tizen>
293         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
294         [EditorBrowsable(EditorBrowsableState.Never)]
295         RequiresHoverEventsSupport = 1 << 2,
296         /// <summary>
297         /// True if OnWheel() callback is required.
298         /// </summary>
299         /// <since_tizen> 6 </since_tizen>
300         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
301         [EditorBrowsable(EditorBrowsableState.Never)]
302         RequiresWheelEventsSupport = 1 << 3,
303         /// <summary>
304         /// Use to provide key navigation support.
305         /// </summary>
306         RequiresKeyboardNavigationSupport = 1 << 5,
307         /// <summary>
308         /// Use to make style change event disabled.
309         /// </summary>
310         DisableStyleChangeSignals = 1 << 6,
311         /// <summary>
312         /// Please do not use! This will be deprecated!
313         /// </summary>
314         /// <since_tizen> 3 </since_tizen>
315         [Obsolete("Please do not use! This will be deprecated!")]
316         [EditorBrowsable(EditorBrowsableState.Never)]
317         LastViewBehaviourFlag
318     }
319
320     /// <summary>
321     /// An enum of Device Class types.
322     /// </summary>
323     /// <since_tizen> 3 </since_tizen>
324     /// Can't fix because it's already used by other GBM.
325     [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
326     public enum DeviceClassType
327     {
328         /// <summary>
329         /// Not a device.
330         /// </summary>
331         /// <since_tizen> 3 </since_tizen>
332         None,
333         /// <summary>
334         /// The user/seat (the user themselves).
335         /// </summary>
336         /// <since_tizen> 3 </since_tizen>
337         Seat,
338         /// <summary>
339         /// A regular keyboard, numberpad or attached buttons.
340         /// </summary>
341         /// <since_tizen> 3 </since_tizen>
342         Keyboard,
343         /// <summary>
344         /// A mouse, trackball or touchpad relative motion device.
345         /// </summary>
346         /// <since_tizen> 3 </since_tizen>
347         Mouse,
348         /// <summary>
349         /// A touchscreen with fingers or stylus.
350         /// </summary>
351         /// <since_tizen> 3 </since_tizen>
352         Touch,
353         /// <summary>
354         /// A special pen device.
355         /// </summary>
356         /// <since_tizen> 3 </since_tizen>
357         Pen,
358         /// <summary>
359         ///  A pointing device based on laser, infrared or similar technology.
360         /// </summary>
361         /// <since_tizen> 3 </since_tizen>
362         Pointer,
363         /// <summary>
364         /// A gamepad controller or joystick.
365         /// </summary>
366         /// <since_tizen> 3 </since_tizen>
367         Gamepad
368     }
369
370     /// <summary>
371     /// An enum of Device Subclass types.
372     /// </summary>
373     /// <since_tizen> 4 </since_tizen>
374     public enum DeviceSubClassType
375     {
376         /// <summary>
377         /// Not a device
378         /// </summary>
379         /// <since_tizen> 4 </since_tizen>
380         None,
381         /// <summary>
382         /// The normal flat of your finger
383         /// </summary>
384         /// <since_tizen> 4 </since_tizen>
385         Finger,
386         /// <summary>
387         /// A fingernail
388         /// </summary>
389         /// <since_tizen> 4 </since_tizen>
390         Fingernail,
391         /// <summary>
392         /// A Knuckle
393         /// </summary>
394         /// <since_tizen> 4 </since_tizen>
395         Knuckle,
396         /// <summary>
397         /// The palm of a users hand
398         /// </summary>
399         /// <since_tizen> 4 </since_tizen>
400         Palm,
401         /// <summary>
402         /// The side of your hand
403         /// </summary>
404         /// <since_tizen> 4 </since_tizen>
405         HandSide,
406         /// <summary>
407         /// The flat of your hand
408         /// </summary>
409         /// <since_tizen> 4 </since_tizen>
410         HandFlat,
411         /// <summary>
412         /// The tip of a pen
413         /// </summary>
414         /// <since_tizen> 4 </since_tizen>
415         PenTip,
416         /// <summary>
417         /// A trackpad style mouse
418         /// </summary>
419         /// <since_tizen> 4 </since_tizen>
420         Trackpad,
421         /// <summary>
422         /// A trackpoint style mouse
423         /// </summary>
424         /// <since_tizen> 4 </since_tizen>
425         Trackpoint,
426         /// <summary>
427         /// A trackball style mouse
428         /// </summary>
429         /// <since_tizen> 4 </since_tizen>
430         Trackball,
431         /// <summary>
432         /// A remote controller
433         /// </summary>
434         /// <since_tizen> 4 </since_tizen>
435         Remocon,
436         /// <summary>
437         /// A virtual keyboard
438         /// </summary>
439         /// <since_tizen> 4 </since_tizen>
440         VirtualKeyboard
441     }
442
443     /// <summary>
444     /// This specifies all the property types.<br />
445     /// Enumeration for the property types supported.
446     /// </summary>
447     /// <since_tizen> 3 </since_tizen>
448     /// Can't fix because it's already used by other GBM.
449     [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
450     public enum PropertyType
451     {
452         /// <summary>
453         /// No type.
454         /// </summary>
455         None,
456         /// <summary>
457         /// A boolean type.
458         /// </summary>
459         Boolean,
460         /// <summary>
461         /// A float type.
462         /// </summary>
463         Float,
464         /// <summary>
465         /// An integer type.
466         /// </summary>
467         Integer,
468         /// <summary>
469         /// A vector array of size=2 with float precision.
470         /// </summary>
471         Vector2,
472         /// <summary>
473         /// A vector array of size=3 with float precision.
474         /// </summary>
475         Vector3,
476         /// <summary>
477         /// A vector array of size=4 with float precision.
478         /// </summary>
479         Vector4,
480         /// <summary>
481         /// A 3x3 matrix.
482         /// </summary>
483         Matrix3,
484         /// <summary>
485         /// A 4x4 matrix.
486         /// </summary>
487         Matrix,
488         /// <summary>
489         /// An integer array of size=4.
490         /// </summary>
491         Rectangle,
492         /// <summary>
493         /// Either a quaternion or an axis angle rotation.
494         /// </summary>
495         Rotation,
496         /// <summary>
497         /// A string type.
498         /// </summary>
499         String,
500         /// <summary>
501         /// An array of PropertyValue.
502         /// </summary>
503         Array,
504         /// <summary>
505         /// A string key to PropertyValue mapping.
506         /// </summary>
507         Map,
508         /// <summary>
509         /// An extents type.
510         /// </summary>
511         /// <since_tizen> 4 </since_tizen>
512         Extents
513     }
514
515     /// <summary>
516     /// This specifies the property access mode types.<br />
517     /// Enumeration for the access mode for custom properties.
518     /// </summary>
519     /// <since_tizen> 3 </since_tizen>
520     public enum PropertyAccessMode
521     {
522         /// <summary>
523         /// If the property is read-only.
524         /// </summary>
525         ReadOnly,
526         /// <summary>
527         /// If the property is read or writeable.
528         /// </summary>
529         ReadWrite,
530         /// <summary>
531         /// If the property can be animated or constrained.
532         /// </summary>
533         Animatable,
534         /// <summary>
535         /// The number of access modes.
536         /// </summary>
537         AccessModeCount
538     }
539
540     /// <summary>
541     /// Types of style change. Enumeration for the StyleChange type.
542     /// </summary>
543     /// <since_tizen> 3 </since_tizen>
544     [Obsolete("Deprecated in API9, Will be removed in API11.")]
545     public enum StyleChangeType
546     {
547         /// <summary>
548         /// Denotes that the default font has changed.
549         /// </summary>
550         [Obsolete("Deprecated in API9, Will be removed in API11.")]
551         DefaultFontChange,
552         /// <summary>
553         /// Denotes that the default font size has changed.
554         /// </summary>
555         [Obsolete("Deprecated in API9, Will be removed in API11.")]
556         DefaultFontSizeChange,
557         /// <summary>
558         /// Denotes that the theme has changed.
559         /// </summary>
560         [Obsolete("Deprecated in API9, Will be removed in API11.")]
561         ThemeChange
562     }
563
564     /// <summary>
565     /// Enumeration for horizontal alignment types.
566     /// </summary>
567     /// <since_tizen> 3 </since_tizen>
568     public enum HorizontalAlignmentType
569     {
570         /// <summary>
571         /// Align horizontally left.
572         /// </summary>
573         [Description("left")]
574         Left,
575         /// <summary>
576         /// Align horizontally center.
577         /// </summary>
578         [Description("center")]
579         Center,
580         /// <summary>
581         /// Align horizontally right.
582         /// </summary>
583         [Description("right")]
584         Right
585     }
586
587     /// <summary>
588     /// Enumeration for vertical alignment types.
589     /// </summary>
590     /// <since_tizen> 3 </since_tizen>
591     public enum VerticalAlignmentType
592     {
593         /// <summary>
594         /// Align vertically top.
595         /// </summary>
596         [Description("top")]
597         Top,
598         /// <summary>
599         /// Align vertically center.
600         /// </summary>
601         [Description("center")]
602         Center,
603         /// <summary>
604         /// Align vertically bottom.
605         /// </summary>
606         [Description("bottom")]
607         Bottom
608     }
609
610     /// <summary>
611     /// Enumeration for point state type.
612     /// </summary>
613     /// <since_tizen> 3 </since_tizen>
614     public enum PointStateType
615     {
616         /// <summary>
617         /// Touch or hover started.
618         /// </summary>
619         Started,
620         /// <summary>
621         /// Touch or hover finished.
622         /// </summary>
623         Finished,
624         /// <summary>
625         /// Screen touched.
626         /// </summary>
627         Down = Started,
628         /// <summary>
629         /// Touch stopped.
630         /// </summary>
631         Up = Finished,
632         /// <summary>
633         /// Finger dragged or hovered.
634         /// </summary>
635         Motion,
636         /// <summary>
637         /// Leave the boundary of an actor.
638         /// </summary>
639         Leave,
640         /// <summary>
641         /// No change from last event. <br />
642         /// 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.
643         /// </summary>
644         Stationary,
645         /// <summary>
646         /// A system event has occurred which has interrupted the touch or hover event sequence.
647         /// </summary>
648         Interrupted
649     }
650
651     /// <summary>
652     /// The type for HiddenInput mode.
653     /// </summary>
654     /// <since_tizen> 3 </since_tizen>
655     public enum HiddenInputModeType
656     {
657         /// <summary>
658         /// Don't hide text.
659         /// </summary>
660         HideNone,
661         /// <summary>
662         /// Hide all the input text.
663         /// </summary>
664         HideAll,
665         /// <summary>
666         /// Hide n characters from start.
667         /// </summary>
668         HideCount,
669         /// <summary>
670         /// Show n characters from start.
671         /// </summary>
672         ShowCount,
673         /// <summary>
674         /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
675         /// </summary>
676         ShowLastCharacter
677     }
678
679     /// <summary>
680     /// Auto scrolling stop behavior.
681     /// </summary>
682     /// <since_tizen> 3 </since_tizen>
683     public enum AutoScrollStopMode
684     {
685         /// <summary>
686         /// Stop animation after current loop finished.
687         /// </summary>
688         [Description("FINISH_LOOP")]
689         FinishLoop,
690         /// <summary>
691         /// Stop animation immediately and reset position.
692         /// </summary>
693         [Description("IMMEDIATE")]
694         Immediate
695     }
696
697     /// <summary>
698     /// An enum of screen mode.
699     /// </summary>
700     /// <since_tizen> 4 </since_tizen>
701     public enum ScreenOffMode
702     {
703         /// <summary>
704         /// The mode which turns the screen off after a timeout.
705         /// </summary>
706         Timout,
707         /// <summary>
708         /// The mode which keeps the screen turned on.
709         /// </summary>
710         Never
711     }
712
713     /// <summary>
714     /// An enum of notification window's priority level.
715     /// </summary>
716     /// <since_tizen> 3 </since_tizen>
717     public enum NotificationLevel
718     {
719         /// <summary>
720         /// No notification level.<br />
721         /// Default level.<br />
722         /// This value makes the notification window place in the layer of the normal window.
723         /// </summary>
724         None = -1,
725         /// <summary>
726         /// The base notification level.
727         /// </summary>
728         Base = 10,
729         /// <summary>
730         /// The medium notification level than base.
731         /// </summary>
732         Medium = 20,
733         /// <summary>
734         /// The higher notification level than medium.
735         /// </summary>
736         High = 30,
737         /// <summary>
738         /// The highest notification level.
739         /// </summary>
740         Top = 40
741     }
742
743     /// <summary>
744     /// An enum of window types.
745     /// </summary>
746     /// <remarks>
747     /// Most of window type can be set, except for IME type.<br />
748     /// IME type can only be used in one of NUIApplication's constrcutors.<br />
749     /// </remarks>
750     /// <since_tizen> 3 </since_tizen>
751     public enum WindowType
752     {
753         /// <summary>
754         /// A default window type.<br />
755         /// Indicates a normal or top-level window.
756         /// Almost every window will be created with this type.
757         /// </summary>
758         Normal,
759         /// <summary>
760         /// A notification window, like a warning about battery life or a new email received.
761         /// </summary>
762         Notification,
763         /// <summary>
764         /// A persistent utility window, like a toolbox or a palette.
765         /// </summary>
766         Utility,
767         /// <summary>
768         /// Used for simple dialog windows.
769         /// </summary>
770         Dialog,
771         /// <summary>
772         /// Used for IME window that is used for keyboard window.
773         /// It should be set in NUIApplication constructor.
774         /// It does not work with Window.Type, because IME window type can not change in runtime.
775         /// </summary>
776         /// <remarks>
777         /// See <see cref="NUIApplication" /> for this type. <br />
778         /// </remarks>
779         Ime
780     }
781
782     /// <since_tizen> 3 </since_tizen>
783     [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
784     public enum DisposeTypes
785     {
786         /// <summary>
787         /// Called By User
788         /// </summary>
789         /// <since_tizen> 3 </since_tizen>
790         Explicit,
791         /// <summary>
792         /// Called by DisposeQueue
793         /// </summary>
794         /// <since_tizen> 3 </since_tizen>
795         Implicit,
796     }
797
798     /// <summary>
799     /// An enum of the scroll state of the text editor.
800     /// </summary>
801     /// <since_tizen> 3 </since_tizen>
802     public enum ScrollState
803     {
804         /// <summary>
805         /// Scrolling is started.
806         /// </summary>
807         Started,
808
809         /// <summary>
810         /// Scrolling is finished.
811         /// </summary>
812         Finished
813     }
814
815     /// <summary>
816     /// An enum of the line wrap mode of text controls.
817     /// </summary>
818     /// <since_tizen> 4 </since_tizen>
819     public enum LineWrapMode
820     {
821         /// <summary>
822         /// The word mode will move a word to the next line.
823         /// </summary>
824         /// <since_tizen> 4 </since_tizen>
825         Word,
826
827         /// <summary>
828         /// character will move character by character to the next line.
829         /// </summary>
830         /// <since_tizen> 4 </since_tizen>
831         Character,
832
833         /// <summary>
834         /// Hyphenation mode will move part of the word (at possible hyphen locations)
835         /// to the next line and draw a hyphen at the end of the line.
836         /// </summary>
837         /// <since_tizen> 9 </since_tizen>
838         Hyphenation,
839
840         /// <summary>
841         /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
842         /// </summary>
843         /// <since_tizen> 9 </since_tizen>
844         Mixed
845     }
846
847     /// <summary>
848     /// An enum of text directions.
849     /// </summary>
850     /// <since_tizen> 5 </since_tizen>
851     public enum TextDirection
852     {
853         /// <summary>
854         /// Text direction is from left to right.
855         /// </summary>
856         /// <since_tizen> 5 </since_tizen>
857         LeftToRight,
858
859         /// <summary>
860         /// Text direction is from right to left.
861         /// </summary>
862         /// <since_tizen> 5 </since_tizen>
863         RightToLeft
864     }
865
866     /// <summary>
867     /// An enum of vertical line alignments.
868     /// </summary>
869     /// <since_tizen> 5 </since_tizen>
870     public enum VerticalLineAlignment
871     {
872         /// <summary>
873         /// vertical line alignment is from top.
874         /// </summary>
875         /// <since_tizen> 5 </since_tizen>
876         Top,
877
878         /// <summary>
879         /// vertical line alignment is from center.
880         /// </summary>
881         /// <since_tizen> 5 </since_tizen>
882         Center,
883
884         /// <summary>
885         /// vertical line alignment is from bottom.
886         /// </summary>
887         /// <since_tizen> 5 </since_tizen>
888         Bottom
889     }
890
891     /// <summary>
892     /// An enum of ellipsis position.
893     /// </summary>
894     /// <since_tizen> 9 </since_tizen>
895     public enum EllipsisPosition
896     {
897         /// <summary>
898         /// ellipsis position at end.
899         /// </summary>
900         /// <since_tizen> 9 </since_tizen>
901         End,
902
903         /// <summary>
904         /// ellipsis position at start.
905         /// </summary>
906         /// <since_tizen> 9 </since_tizen>
907         Start,
908
909         /// <summary>
910         /// ellipsis position in the middle.
911         /// </summary>
912         /// <since_tizen> 9 </since_tizen>
913         Middle
914     }
915
916     /// <summary>
917     /// Enumeration type for the font's slant.
918     /// </summary>
919     /// <since_tizen> 5 </since_tizen>
920     public enum FontSlantType
921     {
922         /// <summary>
923         /// None.
924         /// </summary>
925         /// <since_tizen> 5 </since_tizen>
926         None,
927         /// <summary>
928         /// Normal.
929         /// </summary>
930         /// <since_tizen> 5 </since_tizen>
931         Normal,
932         /// <summary>
933         /// Roman.
934         /// </summary>
935         /// <since_tizen> 5 </since_tizen>
936         Roman = Normal,
937         /// <summary>
938         /// Italic.
939         /// </summary>
940         /// <since_tizen> 5 </since_tizen>
941         Italic,
942         /// <summary>
943         /// Oblique.
944         /// </summary>
945         /// <since_tizen> 5 </since_tizen>
946         Oblique
947     }
948
949     /// <summary>
950     /// Enumeration type for the font's weight.
951     /// </summary>
952     /// <since_tizen> 5 </since_tizen>
953     public enum FontWeightType
954     {
955         /// <summary>
956         /// None.
957         /// </summary>
958         /// <since_tizen> 5 </since_tizen>
959         None,
960         /// <summary>
961         /// Thin.
962         /// </summary>
963         /// <since_tizen> 5 </since_tizen>
964         Thin,
965         /// <summary>
966         /// UltraLight.
967         /// </summary>
968         /// <since_tizen> 5 </since_tizen>
969         UltraLight,
970         /// <summary>
971         /// ExtraLight.
972         /// </summary>
973         /// <since_tizen> 5 </since_tizen>
974         ExtraLight = UltraLight,
975         /// <summary>
976         /// Light.
977         /// </summary>
978         /// <since_tizen> 5 </since_tizen>
979         Light,
980         /// <summary>
981         /// DemiLight.
982         /// </summary>
983         /// <since_tizen> 5 </since_tizen>
984         DemiLight,
985         /// <summary>
986         /// SemiLight.
987         /// </summary>
988         /// <since_tizen> 5 </since_tizen>
989         SemiLight = DemiLight,
990         /// <summary>
991         /// Book.
992         /// </summary>
993         /// <since_tizen> 5 </since_tizen>
994         Book,
995         /// <summary>
996         /// Normal.
997         /// </summary>
998         /// <since_tizen> 5 </since_tizen>
999         Normal,
1000         /// <summary>
1001         /// Regular.
1002         /// </summary>
1003         /// <since_tizen> 5 </since_tizen>
1004         Regular = Normal,
1005         /// <summary>
1006         /// Medium.
1007         /// </summary>
1008         /// <since_tizen> 5 </since_tizen>
1009         Medium,
1010         /// <summary>
1011         /// DemiBold.
1012         /// </summary>
1013         /// <since_tizen> 5 </since_tizen>
1014         DemiBold,
1015         /// <summary>
1016         /// SemiBold.
1017         /// </summary>
1018         /// <since_tizen> 5 </since_tizen>
1019         SemiBold = DemiBold,
1020         /// <summary>
1021         /// Bold.
1022         /// </summary>
1023         /// <since_tizen> 5 </since_tizen>
1024         Bold,
1025         /// <summary>
1026         /// UltraBold.
1027         /// </summary>
1028         /// <since_tizen> 5 </since_tizen>
1029         UltraBold,
1030         /// <summary>
1031         /// ExtraBold.
1032         /// </summary>
1033         /// <since_tizen> 5 </since_tizen>
1034         ExtraBold = UltraBold,
1035         /// <summary>
1036         /// Black.
1037         /// </summary>
1038         /// <since_tizen> 5 </since_tizen>
1039         Black,
1040         /// <summary>
1041         /// Heavy.
1042         /// </summary>
1043         /// <since_tizen> 5 </since_tizen>
1044         Heavy = Black,
1045         /// <summary>
1046         /// ExtraBlack.
1047         /// </summary>
1048         /// <since_tizen> 5 </since_tizen>
1049         ExtraBlack = Black
1050     }
1051
1052     /// <summary>
1053     /// Enumeration type for the font's width.
1054     /// </summary>
1055     /// <since_tizen> 5 </since_tizen>
1056     public enum FontWidthType
1057     {
1058         /// <summary>
1059         /// None.
1060         /// </summary>
1061         /// <since_tizen> 5 </since_tizen>
1062         None,
1063         /// <summary>
1064         /// UltraCondensed.
1065         /// </summary>
1066         /// <since_tizen> 5 </since_tizen>
1067         UltraCondensed,
1068         /// <summary>
1069         /// ExtraCondensed.
1070         /// </summary>
1071         /// <since_tizen> 5 </since_tizen>
1072         ExtraCondensed,
1073         /// <summary>
1074         /// Condensed.
1075         /// </summary>
1076         /// <since_tizen> 5 </since_tizen>
1077         Condensed,
1078         /// <summary>
1079         /// SemiCondensed.
1080         /// </summary>
1081         /// <since_tizen> 5 </since_tizen>
1082         SemiCondensed,
1083         /// <summary>
1084         /// Normal.
1085         /// </summary>
1086         /// <since_tizen> 5 </since_tizen>
1087         Normal,
1088         /// <summary>
1089         /// SemiExpanded.
1090         /// </summary>
1091         /// <since_tizen> 5 </since_tizen>
1092         SemiExpanded,
1093         /// <summary>
1094         /// Expanded.
1095         /// </summary>
1096         /// <since_tizen> 5 </since_tizen>
1097         Expanded,
1098         /// <summary>
1099         /// ExtraExpanded.
1100         /// </summary>
1101         /// <since_tizen> 5 </since_tizen>
1102         ExtraExpanded,
1103         /// <summary>
1104         /// UltraExpanded.
1105         /// </summary>
1106         /// <since_tizen> 5 </since_tizen>
1107         UltraExpanded
1108     }
1109
1110     /// <summary>
1111     /// Enumeration type for the glyph type.
1112     /// </summary>
1113     /// <since_tizen> 5 </since_tizen>
1114     public enum GlyphType
1115     {
1116         /// <summary>
1117         /// Glyph stored as pixels.
1118         /// </summary>
1119         /// <since_tizen> 5 </since_tizen>
1120         BitmapGlyph,
1121         /// <summary>
1122         /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1123         /// </summary>
1124         /// <since_tizen> 5 </since_tizen>
1125         VectorGlyph
1126     }
1127
1128     /// <summary>
1129     /// Enumeration for Setting the rendering behavior of a Window.
1130     /// </summary>
1131     /// <since_tizen> 5 </since_tizen>
1132     public enum RenderingBehaviorType
1133     {
1134         /// <summary>
1135         /// Default. Only renders if required.
1136         /// </summary>
1137         IfRequired,
1138         /// <summary>
1139         /// Renders continuously.
1140         /// </summary>
1141         Continuously
1142     }
1143
1144     /// <summary>
1145     /// The HiddenInput property.
1146     /// </summary>
1147     /// <since_tizen> 3 </since_tizen>
1148     public struct HiddenInputProperty
1149     {
1150         /// <summary>
1151         /// The mode for input text display.
1152         /// </summary>
1153         /// <since_tizen> 3 </since_tizen>
1154         public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1155         /// <summary>
1156         /// All input characters are substituted by this character.
1157         /// </summary>
1158         /// <since_tizen> 3 </since_tizen>
1159         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1160         /// <summary>
1161         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1162         /// </summary>
1163         /// <since_tizen> 3 </since_tizen>
1164         public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1165         /// <summary>
1166         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1167         /// </summary>
1168         /// <since_tizen> 4 </since_tizen>
1169         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1170     }
1171
1172     /// <summary>
1173     /// ParentOrigin constants.
1174     /// </summary>
1175     /// <since_tizen> 3 </since_tizen>
1176     public struct ParentOrigin
1177     {
1178         /// <summary>
1179         /// Top
1180         /// </summary>
1181         /// <since_tizen> 3 </since_tizen>
1182         public static float Top
1183         {
1184             get
1185             {
1186                 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1187                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1188                 return ret;
1189             }
1190         }
1191
1192         /// <summary>
1193         /// Bottom
1194         /// </summary>
1195         /// <since_tizen> 3 </since_tizen>
1196         public static float Bottom
1197         {
1198             get
1199             {
1200                 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1201                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1202                 return ret;
1203             }
1204         }
1205
1206         /// <summary>
1207         /// Left
1208         /// </summary>
1209         /// <since_tizen> 3 </since_tizen>
1210         public static float Left
1211         {
1212             get
1213             {
1214                 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1215                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1216                 return ret;
1217             }
1218         }
1219
1220         /// <summary>
1221         /// Right
1222         /// </summary>
1223         /// <since_tizen> 3 </since_tizen>
1224         public static float Right
1225         {
1226             get
1227             {
1228                 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1229                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1230                 return ret;
1231             }
1232         }
1233
1234         /// <summary>
1235         /// Middle
1236         /// </summary>
1237         /// <since_tizen> 3 </since_tizen>
1238         public static float Middle
1239         {
1240             get
1241             {
1242                 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1243                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1244                 return ret;
1245             }
1246         }
1247
1248         /// <summary>
1249         /// TopLeft
1250         /// </summary>
1251         /// <since_tizen> 3 </since_tizen>
1252         public static Position TopLeft
1253         {
1254             get
1255             {
1256                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1257                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1258                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1259                 return ret;
1260             }
1261         }
1262
1263         /// <summary>
1264         /// TopCenter
1265         /// </summary>
1266         /// <since_tizen> 3 </since_tizen>
1267         public static Position TopCenter
1268         {
1269             get
1270             {
1271                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1272                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1273                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1274                 return ret;
1275             }
1276         }
1277
1278         /// <summary>
1279         /// TopRight
1280         /// </summary>
1281         /// <since_tizen> 3 </since_tizen>
1282         public static Position TopRight
1283         {
1284             get
1285             {
1286                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1287                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1288                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1289                 return ret;
1290             }
1291         }
1292
1293         /// <summary>
1294         /// CenterLeft
1295         /// </summary>
1296         /// <since_tizen> 3 </since_tizen>
1297         public static Position CenterLeft
1298         {
1299             get
1300             {
1301                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1302                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1303                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1304                 return ret;
1305             }
1306         }
1307
1308         /// <summary>
1309         /// Center
1310         /// </summary>
1311         /// <since_tizen> 3 </since_tizen>
1312         public static Position Center
1313         {
1314             get
1315             {
1316                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1317                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1318                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1319                 return ret;
1320             }
1321         }
1322
1323         /// <summary>
1324         /// CenterRight
1325         /// </summary>
1326         /// <since_tizen> 3 </since_tizen>
1327         public static Position CenterRight
1328         {
1329             get
1330             {
1331                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1332                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1333                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1334                 return ret;
1335             }
1336         }
1337
1338         /// <summary>
1339         /// BottomLeft
1340         /// </summary>
1341         /// <since_tizen> 3 </since_tizen>
1342         public static Position BottomLeft
1343         {
1344             get
1345             {
1346                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1347                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1348                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1349                 return ret;
1350             }
1351         }
1352
1353         /// <summary>
1354         /// BottomCenter
1355         /// </summary>
1356         /// <since_tizen> 3 </since_tizen>
1357         public static Position BottomCenter
1358         {
1359             get
1360             {
1361                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1362                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1363                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1364                 return ret;
1365             }
1366         }
1367
1368         /// <summary>
1369         /// BottomRight
1370         /// </summary>
1371         /// <since_tizen> 3 </since_tizen>
1372         public static Position BottomRight
1373         {
1374             get
1375             {
1376                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1377                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1378                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1379                 return ret;
1380             }
1381         }
1382     }
1383
1384     /// <summary>
1385     /// PivotPoint constants.
1386     /// </summary>
1387     /// <since_tizen> 3 </since_tizen>
1388     public struct PivotPoint
1389     {
1390         /// <summary>
1391         /// Top
1392         /// </summary>
1393         /// <since_tizen> 3 </since_tizen>
1394         public static float Top
1395         {
1396             get
1397             {
1398                 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1399                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1400                 return ret;
1401             }
1402         }
1403         /// <summary>
1404         /// Bottom
1405         /// </summary>
1406         /// <since_tizen> 3 </since_tizen>
1407         public static float Bottom
1408         {
1409             get
1410             {
1411                 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1412                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1413                 return ret;
1414             }
1415         }
1416         /// <summary>
1417         /// Left
1418         /// </summary>
1419         /// <since_tizen> 3 </since_tizen>
1420         public static float Left
1421         {
1422             get
1423             {
1424                 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1425                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1426                 return ret;
1427             }
1428         }
1429         /// <summary>
1430         /// Right
1431         /// </summary>
1432         /// <since_tizen> 3 </since_tizen>
1433         public static float Right
1434         {
1435             get
1436             {
1437                 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1438                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1439                 return ret;
1440             }
1441         }
1442         /// <summary>
1443         /// Middle
1444         /// </summary>
1445         /// <since_tizen> 3 </since_tizen>
1446         public static float Middle
1447         {
1448             get
1449             {
1450                 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1451                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1452                 return ret;
1453             }
1454         }
1455         /// <summary>
1456         /// TopLeft
1457         /// </summary>
1458         /// <since_tizen> 3 </since_tizen>
1459         public static Position TopLeft
1460         {
1461             get
1462             {
1463                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1464                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1465                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1466                 return ret;
1467             }
1468         }
1469         /// <summary>
1470         /// TopCenter
1471         /// </summary>
1472         /// <since_tizen> 3 </since_tizen>
1473         public static Position TopCenter
1474         {
1475             get
1476             {
1477                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1478                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1479                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1480                 return ret;
1481             }
1482         }
1483         /// <summary>
1484         /// TopRight
1485         /// </summary>
1486         /// <since_tizen> 3 </since_tizen>
1487         public static Position TopRight
1488         {
1489             get
1490             {
1491                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1492                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1493                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1494                 return ret;
1495             }
1496         }
1497         /// <summary>
1498         /// CenterLeft
1499         /// </summary>
1500         /// <since_tizen> 3 </since_tizen>
1501         public static Position CenterLeft
1502         {
1503             get
1504             {
1505                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1506                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1507                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1508                 return ret;
1509             }
1510         }
1511         /// <summary>
1512         /// Center
1513         /// </summary>
1514         /// <since_tizen> 3 </since_tizen>
1515         public static Position Center
1516         {
1517             get
1518             {
1519                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1520                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1521                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1522                 return ret;
1523             }
1524         }
1525         /// <summary>
1526         /// CenterRight
1527         /// </summary>
1528         /// <since_tizen> 3 </since_tizen>
1529         public static Position CenterRight
1530         {
1531             get
1532             {
1533                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1534                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1535                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1536                 return ret;
1537             }
1538         }
1539         /// <summary>
1540         /// BottomLeft
1541         /// </summary>
1542         /// <since_tizen> 3 </since_tizen>
1543         public static Position BottomLeft
1544         {
1545             get
1546             {
1547                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1548                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1549                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1550                 return ret;
1551             }
1552         }
1553         /// <summary>
1554         /// BottomCenter
1555         /// </summary>
1556         /// <since_tizen> 3 </since_tizen>
1557         public static Position BottomCenter
1558         {
1559             get
1560             {
1561                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1562                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1563                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1564                 return ret;
1565             }
1566         }
1567         /// <summary>
1568         /// BottomRight
1569         /// </summary>
1570         /// <since_tizen> 3 </since_tizen>
1571         public static Position BottomRight
1572         {
1573             get
1574             {
1575                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1576                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1577                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1578                 return ret;
1579             }
1580         }
1581     }
1582     /// <summary>
1583     /// PositionAxis constants.
1584     /// </summary>
1585     /// <since_tizen> 3 </since_tizen>
1586     public struct PositionAxis
1587     {
1588         /// <summary>
1589         /// The X axis
1590         /// </summary>
1591         /// <since_tizen> 3 </since_tizen>
1592         public static Position X
1593         {
1594             get
1595             {
1596                 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1597                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1598                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1599                 return ret;
1600             }
1601         }
1602         /// <summary>
1603         /// The Y axis
1604         /// </summary>
1605         /// <since_tizen> 3 </since_tizen>
1606         public static Position Y
1607         {
1608             get
1609             {
1610                 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1611                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1612                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1613                 return ret;
1614             }
1615         }
1616         /// <summary>
1617         /// The Z axis
1618         /// </summary>
1619         /// <since_tizen> 3 </since_tizen>
1620         public static Position Z
1621         {
1622             get
1623             {
1624                 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1625                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1626                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1627                 return ret;
1628             }
1629         }
1630         /// <summary>
1631         /// The Negative X axis
1632         /// </summary>
1633         /// <since_tizen> 3 </since_tizen>
1634         public static Position NegativeX
1635         {
1636             get
1637             {
1638                 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1639                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1640                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1641                 return ret;
1642             }
1643         }
1644         /// <summary>
1645         /// The Negative Y axis
1646         /// </summary>
1647         /// <since_tizen> 3 </since_tizen>
1648         public static Position NegativeY
1649         {
1650             get
1651             {
1652                 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1653                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1654                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1655                 return ret;
1656             }
1657         }
1658         /// <summary>
1659         /// The Negative Z axis
1660         /// </summary>
1661         /// <since_tizen> 3 </since_tizen>
1662         public static Position NegativeZ
1663         {
1664             get
1665             {
1666                 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1667                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1668                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1669                 return ret;
1670             }
1671         }
1672     }
1673
1674     /// <summary>
1675     /// [Obsolete("Please do not use! this will be deprecated")]
1676     /// </summary>
1677     /// <since_tizen> 3 </since_tizen>
1678     [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1679     [EditorBrowsable(EditorBrowsableState.Never)]
1680     public struct AnchorPoint
1681     {
1682         /// <summary>
1683         /// Top
1684         /// </summary>
1685         /// <since_tizen> 3 </since_tizen>
1686         public static float Top
1687         {
1688             get
1689             {
1690                 return PivotPoint.Top;
1691             }
1692         }
1693         /// <summary>
1694         /// Bottom
1695         /// </summary>
1696         /// <since_tizen> 3 </since_tizen>
1697         public static float Bottom
1698         {
1699             get
1700             {
1701                 return PivotPoint.Bottom;
1702             }
1703         }
1704         /// <summary>
1705         /// Left
1706         /// </summary>
1707         /// <since_tizen> 3 </since_tizen>
1708         public static float Left
1709         {
1710             get
1711             {
1712                 return PivotPoint.Left;
1713             }
1714         }
1715         /// <summary>
1716         /// Right
1717         /// </summary>
1718         /// <since_tizen> 3 </since_tizen>
1719         public static float Right
1720         {
1721             get
1722             {
1723                 return PivotPoint.Right;
1724             }
1725         }
1726         /// <summary>
1727         /// Middle
1728         /// </summary>
1729         /// <since_tizen> 3 </since_tizen>
1730         public static float Middle
1731         {
1732             get
1733             {
1734                 return PivotPoint.Middle;
1735             }
1736         }
1737         /// <summary>
1738         /// TopLeft
1739         /// </summary>
1740         /// <since_tizen> 3 </since_tizen>
1741         public static Position TopLeft
1742         {
1743             get
1744             {
1745                 return PivotPoint.TopLeft;
1746             }
1747         }
1748         /// <summary>
1749         /// TopCenter
1750         /// </summary>
1751         /// <since_tizen> 3 </since_tizen>
1752         public static Position TopCenter
1753         {
1754             get
1755             {
1756                 return PivotPoint.TopCenter;
1757             }
1758         }
1759         /// <summary>
1760         /// TopRight
1761         /// </summary>
1762         /// <since_tizen> 3 </since_tizen>
1763         public static Position TopRight
1764         {
1765             get
1766             {
1767                 return PivotPoint.TopRight;
1768             }
1769         }
1770         /// <summary>
1771         /// CenterLeft
1772         /// </summary>
1773         /// <since_tizen> 3 </since_tizen>
1774         public static Position CenterLeft
1775         {
1776             get
1777             {
1778                 return PivotPoint.CenterLeft;
1779             }
1780         }
1781         /// <summary>
1782         /// Center
1783         /// </summary>
1784         /// <since_tizen> 3 </since_tizen>
1785         public static Position Center
1786         {
1787             get
1788             {
1789                 return PivotPoint.Center;
1790             }
1791         }
1792         /// <summary>
1793         /// CenterRight
1794         /// </summary>
1795         /// <since_tizen> 3 </since_tizen>
1796         public static Position CenterRight
1797         {
1798             get
1799             {
1800                 return PivotPoint.CenterRight;
1801             }
1802         }
1803         /// <summary>
1804         /// BottomLeft
1805         /// </summary>
1806         /// <since_tizen> 3 </since_tizen>
1807         public static Position BottomLeft
1808         {
1809             get
1810             {
1811                 return PivotPoint.BottomLeft;
1812             }
1813         }
1814         /// <summary>
1815         /// BottomCenter
1816         /// </summary>
1817         /// <since_tizen> 3 </since_tizen>
1818         public static Position BottomCenter
1819         {
1820             get
1821             {
1822                 return PivotPoint.BottomCenter;
1823             }
1824         }
1825         /// <summary>
1826         /// BottomRight
1827         /// </summary>
1828         /// <since_tizen> 3 </since_tizen>
1829         public static Position BottomRight
1830         {
1831             get
1832             {
1833                 return PivotPoint.BottomRight;
1834             }
1835         }
1836     }
1837
1838     /// <summary>
1839     /// Enumeration for setting cache model of a WebView.
1840     /// </summary>
1841     [EditorBrowsable(EditorBrowsableState.Never)]
1842     public enum CacheModel
1843     {
1844         /// <summary>
1845         /// Use the smallest cache capacity.
1846         /// </summary>
1847         DocumentViewer,
1848         /// <summary>
1849         /// Use the bigger cache capacity than DocumentBrowser.
1850         /// </summary>
1851         DocumentBrowser,
1852         /// <summary>
1853         /// Use the biggest cache capacity.
1854         /// </summary>
1855         PrimaryWebBrowser
1856     }
1857
1858     /// <summary>
1859     /// Enumeration for setting cache model of a WebView.
1860     /// </summary>
1861     [EditorBrowsable(EditorBrowsableState.Never)]
1862     public enum CookieAcceptPolicy
1863     {
1864         /// <summary>
1865         /// Accepts every cookie sent from any page.
1866         /// </summary>
1867         Always,
1868         /// <summary>
1869         /// Rejects all the cookies.
1870         /// </summary>
1871         Never,
1872         /// <summary>
1873         /// Accepts only cookies set by the main document that is loaded.
1874         /// </summary>
1875         NoThirdParty
1876     }
1877
1878     /// <summary>
1879     /// FontSizeScale constant.
1880     /// </summary>
1881     /// <since_tizen> 9 </since_tizen>
1882     public struct FontSizeScale
1883     {
1884         /// <summary>
1885         /// UseSystemSetting
1886         /// </summary>
1887         /// <since_tizen> 9 </since_tizen>
1888         public const float UseSystemSetting = -1.0f;
1889     }
1890
1891     /// <summary>
1892     /// Offset has left, right, bottom, top value.
1893     /// </summary>
1894     [EditorBrowsable(EditorBrowsableState.Never)]
1895     public struct Offset
1896     {
1897         /// <summary>
1898         /// Constructor
1899         /// </summary>
1900         /// <param name="left">left offset</param>
1901         /// <param name="right">right offset</param>
1902         /// <param name="bottom">bottom offset</param>
1903         /// <param name="top">top offset</param>
1904         [EditorBrowsable(EditorBrowsableState.Never)]
1905         public Offset(int left, int right, int bottom, int top)
1906         {
1907             Left = left;
1908             Right = right;
1909             Bottom = bottom;
1910             Top = top;
1911         }
1912
1913         /// <summary>
1914         /// Left
1915         /// </summary>
1916         [EditorBrowsable(EditorBrowsableState.Never)]
1917         public int Left {get; set;}
1918
1919         /// <summary>
1920         /// Right
1921         /// </summary>
1922         [EditorBrowsable(EditorBrowsableState.Never)]
1923         public int Right {get; set;}
1924
1925         /// <summary>
1926         /// Bottom
1927         /// </summary>
1928         [EditorBrowsable(EditorBrowsableState.Never)]
1929         public int Bottom {get; set;}
1930
1931         /// <summary>
1932         /// Top
1933         /// </summary>
1934         [EditorBrowsable(EditorBrowsableState.Never)]
1935         public int Top {get; set;}
1936
1937     }
1938
1939     /// <summary>
1940     /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1941     /// Internal use only. Do not open this API.
1942     /// </summary>
1943     internal struct FrameworkInformation
1944     {
1945         public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1946     }
1947
1948     /// <summary>
1949     /// This Enumeration is used the GLES version for EGL configuration.<br />
1950     /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1951     /// It is for GLWindow and GLView.<br />
1952     /// </summary>
1953     /// <since_tizen> 9 </since_tizen>
1954     [EditorBrowsable(EditorBrowsableState.Never)]
1955     public enum GLESVersion
1956     {
1957       /// <summary>
1958       /// GLES version 2.0
1959       /// </summary>
1960       Version20 = 0,
1961
1962       /// <summary>
1963       /// GLES version 3.0
1964       /// </summary>
1965       Version30
1966     }
1967
1968     /// <summary>
1969     /// Enumeration for rendering mode
1970     /// This Enumeration is used to choose the rendering mode.
1971     /// It is for GLWindow and GLView.
1972     /// </summary>
1973     /// <since_tizen> 9 </since_tizen>
1974     [EditorBrowsable(EditorBrowsableState.Never)]
1975     public enum GLRenderingMode
1976     {
1977       /// <summary>
1978       /// The render frame delegate is invoked continuously.
1979       /// </summary>
1980       Continuous = 0,
1981
1982       /// <summary>
1983       /// The render frame delegate is invoked by user.
1984       /// </summary>
1985       OnDemand = 1
1986     }
1987
1988     /// <summary>
1989     /// Enumeration for the type of InputFilter.
1990     /// </summary>
1991     /// <remarks>
1992     /// The type of InputFilter that is stored in the <see cref="Tizen.NUI.BaseComponents.InputFilteredEventArgs"/> when the input is filtered.
1993     /// </remarks>
1994     /// <since_tizen> 9 </since_tizen>
1995     public enum InputFilterType
1996     {
1997         /// <summary>
1998         /// The type of InputFilter is Accept.
1999         /// </summary>
2000         Accept,
2001
2002         /// <summary>
2003         /// The type of InputFilter is Reject.
2004         /// </summary>
2005         Reject
2006     }
2007
2008     /// <summary>
2009     /// Enumeration for the size type of font. <br />
2010     /// </summary>
2011     /// <remarks>
2012     /// The size type of font used as a property of <see cref="Tizen.NUI.Text.TextFit"/>. <br />
2013     /// </remarks>
2014     [EditorBrowsable(EditorBrowsableState.Never)]
2015     public enum FontSizeType
2016     {
2017         /// <summary>
2018         /// The PointSize.
2019         /// </summary>
2020         [EditorBrowsable(EditorBrowsableState.Never)]
2021         PointSize,
2022
2023         /// <summary>
2024         /// The PixelSize.
2025         /// </summary>
2026         [EditorBrowsable(EditorBrowsableState.Never)]
2027         PixelSize
2028     }
2029
2030     namespace Text
2031     {
2032         /// <summary>
2033         /// A struct to pass data of InputFilter PropertyMap. <br />
2034         /// </summary>
2035         /// <remarks>
2036         /// InputFilter filters input based on regular expressions. <br />
2037         /// Users can set the Accepted or Rejected regular expression set, or both. <br />
2038         /// If both are used, Rejected has higher priority. <br />
2039         /// The character set must follow the regular expression rules. <br />
2040         /// Behaviour can not be guaranteed for incorrect grammars. <br />
2041         /// Refer the link below for detailed rules. <br />
2042         /// The functions in std::regex library use the ECMAScript grammar: <br />
2043         /// http://cplusplus.com/reference/regex/ECMAScript/ <br />
2044         /// The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods. <br />
2045         /// 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 />
2046         /// </remarks>
2047         /// <since_tizen> 9 </since_tizen>
2048         public struct InputFilter
2049         {
2050             /// <summary>
2051             /// A regular expression in the set of characters to be accepted by the inputFilter.
2052             /// </summary>
2053             public string Accepted { get; set; }
2054
2055             /// <summary>
2056             /// A regular expression in the set of characters to be rejected by the inputFilter.
2057             /// </summary>
2058             public string Rejected { get; set; }
2059         }
2060
2061         /// <summary>
2062         /// A struct to pass data of FontStyle PropertyMap. <br />
2063         /// </summary>
2064         /// <remarks>
2065         /// The FontStyle struct is used as an argument to SetFontStyle and GetFontStyle methods. <br />
2066         /// 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 />
2067         /// </remarks>
2068         [EditorBrowsable(EditorBrowsableState.Never)]
2069         public struct FontStyle
2070         {
2071             /// <summary>
2072             /// The Width defines occupied by each glyph.
2073             /// </summary>
2074             [EditorBrowsable(EditorBrowsableState.Never)]
2075             public FontWidthType Width { get; set; }
2076
2077             /// <summary>
2078             /// The Weight defines the thickness or darkness of the glyphs.
2079             /// </summary>
2080             [EditorBrowsable(EditorBrowsableState.Never)]
2081             public FontWeightType Weight { get; set; }
2082
2083             /// <summary>
2084             /// The Slant defines whether to use italics.
2085             /// </summary>
2086             [EditorBrowsable(EditorBrowsableState.Never)]
2087             public FontSlantType Slant { get; set; }
2088         }
2089
2090         /// <summary>
2091         /// A struct to pass data of Underline PropertyMap. <br />
2092         /// </summary>
2093         /// <remarks>
2094         /// The Underline struct is used as an argument to SetUnderline and GetUnderline methods. <br />
2095         /// 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 />
2096         /// </remarks>
2097         [EditorBrowsable(EditorBrowsableState.Never)]
2098         public struct Underline
2099         {
2100             /// <summary>
2101             /// Whether the underline is enabled (the default value is false).
2102             /// </summary>
2103             [EditorBrowsable(EditorBrowsableState.Never)]
2104             public bool Enable { get; set; }
2105
2106             /// <summary>
2107             /// The color of the underline (if not provided then the color of the text is used).
2108             /// </summary>
2109             [EditorBrowsable(EditorBrowsableState.Never)]
2110             public Color Color { get; set; }
2111
2112             /// <summary>
2113             /// The height in pixels of the underline (if null, the default value is 1.0f).
2114             /// </summary>
2115             [EditorBrowsable(EditorBrowsableState.Never)]
2116             public float? Height { get; set; }
2117         }
2118
2119         /// <summary>
2120         /// A struct to pass data of Shadow PropertyMap. <br />
2121         /// </summary>
2122         /// <remarks>
2123         /// The Shadow struct is used as an argument to SetShadow and GetShadow methods. <br />
2124         /// 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 />
2125         /// </remarks>
2126         [EditorBrowsable(EditorBrowsableState.Never)]
2127         public struct Shadow
2128         {
2129             /// <summary>
2130             /// The color of the shadow (the default color is Color.Black).
2131             /// </summary>
2132             [EditorBrowsable(EditorBrowsableState.Never)]
2133             public Color Color { get; set; }
2134
2135             /// <summary>
2136             /// The offset in pixels of the shadow (if null, the default value is 0, 0). <br />
2137             /// If not provided then the shadow is not enabled. <br />
2138             ///
2139             /// </summary>
2140             [EditorBrowsable(EditorBrowsableState.Never)]
2141             public Vector2 Offset { get; set; }
2142
2143             /// <summary>
2144             /// The radius of the Gaussian blur for the soft shadow (if null, the default value is 0.0f). <br />
2145             /// If not provided then the soft shadow is not enabled. <br />
2146             /// </summary>
2147             [EditorBrowsable(EditorBrowsableState.Never)]
2148             public float? BlurRadius { get; set; }
2149         }
2150
2151         /// <summary>
2152         /// A struct to pass data of Outline PropertyMap. <br />
2153         /// </summary>
2154         /// <remarks>
2155         /// The Outline struct is used as an argument to SetOutline and GetOutline methods. <br />
2156         /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextLabel.GetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetOutline"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetOutline"/>. <br />
2157         /// </remarks>
2158         [EditorBrowsable(EditorBrowsableState.Never)]
2159         public struct Outline
2160         {
2161             /// <summary>
2162             /// The color of the outline (the default color is Color.White).
2163             /// </summary>
2164             [EditorBrowsable(EditorBrowsableState.Never)]
2165             public Color Color { get; set; }
2166
2167             /// <summary>
2168             /// The width in pixels of the outline (if null, the default value is 0.0f). <br />
2169             /// If not provided then the outline is not enabled. <br />
2170             /// </summary>
2171             [EditorBrowsable(EditorBrowsableState.Never)]
2172             public float? Width { get; set; }
2173         }
2174
2175         /// <summary>
2176         /// A struct to pass data of TextFit PropertyMap. <br />
2177         /// </summary>
2178         /// <remarks>
2179         /// The TextFit struct is used as an argument to SetTextFit and GetTextFit methods. <br />
2180         /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetTextFit"/> and <see cref="Tizen.NUI.BaseComponents.TextLabel.GetTextFit"/>. <br />
2181         /// </remarks>
2182         [EditorBrowsable(EditorBrowsableState.Never)]
2183         public struct TextFit
2184         {
2185             /// <summary>
2186             /// True to enable the text fit or false to disable (the default value is false).
2187             /// </summary>
2188             [EditorBrowsable(EditorBrowsableState.Never)]
2189             public bool Enable { get; set; }
2190
2191             /// <summary>
2192             /// Minimum Size for text fit (if null, the default value is 10.0f).
2193             /// </summary>
2194             [EditorBrowsable(EditorBrowsableState.Never)]
2195             public float? MinSize { get; set; }
2196
2197             /// <summary>
2198             /// Maximum Size for text fit (if null, the default value is 100.0f).
2199             /// </summary>
2200             [EditorBrowsable(EditorBrowsableState.Never)]
2201             public float? MaxSize { get; set; }
2202
2203             /// <summary>
2204             /// Step Size for font increase (if null, the default value is 1.0f).
2205             /// </summary>
2206             [EditorBrowsable(EditorBrowsableState.Never)]
2207             public float? StepSize { get; set; }
2208
2209             /// <summary>
2210             /// The size type of font, PointSize or PixelSize (the default value is PointSize).
2211             /// </summary>
2212             [EditorBrowsable(EditorBrowsableState.Never)]
2213             public FontSizeType FontSizeType { get; set; }
2214
2215             /// <summary>
2216             /// Font Size for text fit
2217             /// </summary>
2218             [EditorBrowsable(EditorBrowsableState.Never)]
2219             public float? FontSize { get; set; }
2220         }
2221
2222         /// <summary>
2223         /// A struct to pass data of Placeholder PropertyMap. <br />
2224         /// </summary>
2225         /// <remarks>
2226         /// The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods. <br />
2227         /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetPlaceholder"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetPlaceholder"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetPlaceholder"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.SetPlaceholder"/>. <br />
2228         /// </remarks>
2229         [EditorBrowsable(EditorBrowsableState.Never)]
2230         public struct Placeholder
2231         {
2232             /// <summary>
2233             /// The text to display when the TextField is empty and inactive.
2234             /// </summary>
2235             [EditorBrowsable(EditorBrowsableState.Never)]
2236             public string Text { get; set; }
2237
2238             /// <summary>
2239             /// The text to display when the placeholder has focus.
2240             /// </summary>
2241             [EditorBrowsable(EditorBrowsableState.Never)]
2242             public string TextFocused { get; set; }
2243
2244             /// <summary>
2245             /// The color of the placeholder text.
2246             /// </summary>
2247             [EditorBrowsable(EditorBrowsableState.Never)]
2248             public Color Color { get; set; }
2249
2250             /// <summary>
2251             /// The FontFamily of the placeholder text.
2252             /// </summary>
2253             [EditorBrowsable(EditorBrowsableState.Never)]
2254             public string FontFamily { get; set; }
2255
2256             /// <summary>
2257             /// The FontStyle of the placeholder text (if null, the text control FontStyle is used).
2258             /// </summary>
2259             [EditorBrowsable(EditorBrowsableState.Never)]
2260             public FontStyle? FontStyle { get; set; }
2261
2262             /// <summary>
2263             /// The PointSize of the placeholder text. <br />
2264             /// Not required if PixelSize provided. <br />
2265             /// If both provided or neither provided then the text control point size is used. <br />
2266             /// </summary>
2267             [EditorBrowsable(EditorBrowsableState.Never)]
2268             public float? PointSize { get; set; }
2269
2270             /// <summary>
2271             /// The PiexSize of the placeholder text.
2272             /// Not required if PointSize provided. <br />
2273             /// If both provided or neither provided then the text control point size is used. <br />
2274             /// </summary>
2275             [EditorBrowsable(EditorBrowsableState.Never)]
2276             public float? PixelSize { get; set; }
2277
2278             /// <summary>
2279             /// The ellipsis of the placeholder text (the default value is false).
2280             /// </summary>
2281             [EditorBrowsable(EditorBrowsableState.Never)]
2282             public bool Ellipsis { get; set; }
2283         }
2284
2285         /// <summary>
2286         /// A struct to pass data of HiddenInputSettings PropertyMap. <br />
2287         /// </summary>
2288         /// <remarks>
2289         /// The HiddenInput struct is used as an argument to SetHiddenInput and GetHiddenInput methods. <br />
2290         /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetHiddenInput"/> and <see cref="Tizen.NUI.BaseComponents.TextField.GetHiddenInput"/>. <br />
2291         /// </remarks>
2292         [EditorBrowsable(EditorBrowsableState.Never)]
2293         public struct HiddenInput
2294         {
2295             /// <summary>
2296             /// The mode for input text display. <br />
2297             /// </summary>
2298             [EditorBrowsable(EditorBrowsableState.Never)]
2299             public HiddenInputModeType Mode { get; set; }
2300
2301             /// <summary>
2302             /// All input characters are substituted by this character (if null, the default value is '*'). <br />
2303             /// </summary>
2304             [EditorBrowsable(EditorBrowsableState.Never)]
2305             public char? SubstituteCharacter { get; set; }
2306
2307             /// <summary>
2308             /// Length of text to show or hide, available when HideCount/ShowCount mode is used (if null, the default value is 0). <br />
2309             /// </summary>
2310             [EditorBrowsable(EditorBrowsableState.Never)]
2311             public int? SubstituteCount { get; set; }
2312
2313             /// <summary>
2314             /// Hide last character after this duration, available when ShowLastCharacter mode (if null, the default value is 1000). <br />
2315             /// </summary>
2316             [EditorBrowsable(EditorBrowsableState.Never)]
2317             public int? ShowLastCharacterDuration { get; set; }
2318         }
2319
2320         /// <summary>
2321         /// A struct to pass data of SelectionHandleImageLeft, SelectionHandleImageRight, SelectionHandlePressedImageLeft, SelectionHandlePressedImageRight, SelectionHandleMarkerImageLeft and SelectionHandleMarkerImageRight PropertyMap. <br />
2322         /// </summary>
2323         /// <remarks>
2324         /// The SelectionHandleImage struct is used as an argument to SetSelectionHandleImage, GetSelectionHandleImage methods, SetSelectionHandlePressedImage, GetSelectionHandlePressedImage, SetSelectionHandleMarkerImage and GetSelectionHandleMarkerImage. <br />
2325         /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandleMarkerImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandleMarkerImage"/>, <br />
2326         /// <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandleMarkerImage"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandleMarkerImage"/>. <br />
2327         /// </remarks>
2328         [EditorBrowsable(EditorBrowsableState.Never)]
2329         public struct SelectionHandleImage
2330         {
2331             /// <summary>
2332             /// The image path to display for the left selection handle. <br />
2333             /// It means the handle in the bottom-left. <br />
2334             /// If the handle needs to be displayed in the top-left, this image will be vertically flipped. <br />
2335             /// If null or empty string, it doesn't change the property. <br />
2336             /// </summary>
2337             [EditorBrowsable(EditorBrowsableState.Never)]
2338             public string LeftImageUrl { get; set; }
2339
2340             /// <summary>
2341             /// The image path to display for the right selection handle. <br />
2342             /// It means the handle in the bottom-right. <br />
2343             /// If the handle needs to be displayed in the top-right, this image will be vertically flipped. <br />
2344             /// If null or empty string, it doesn't change the property. <br />
2345             /// </summary>
2346             [EditorBrowsable(EditorBrowsableState.Never)]
2347             public string RightImageUrl { get; set; }
2348         }
2349     }
2350
2351
2352     /// <summary>
2353     /// Pre-defined SlideTransition Direction
2354     /// </summary>
2355     [EditorBrowsable(EditorBrowsableState.Never)]
2356     public struct SlideTransitionDirection
2357     {
2358         /// <summary>
2359         /// Top
2360         /// </summary>
2361         [EditorBrowsable(EditorBrowsableState.Never)]
2362         public static Vector2 Top
2363         {
2364             get
2365             {
2366                 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionTopGet();
2367                 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2368                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2369                 return ret;
2370             }
2371         }
2372         /// <summary>
2373         /// Bottom
2374         /// </summary>
2375         [EditorBrowsable(EditorBrowsableState.Never)]
2376         public static Vector2 Bottom
2377         {
2378             get
2379             {
2380                 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionBottomGet();
2381                 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2382                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2383                 return ret;
2384             }
2385         }
2386
2387         /// <summary>
2388         /// Right
2389         /// </summary>
2390         [EditorBrowsable(EditorBrowsableState.Never)]
2391         public static Vector2 Right
2392         {
2393             get
2394             {
2395                 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionRightGet();
2396                 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2397                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2398                 return ret;
2399             }
2400         }
2401
2402         /// <summary>
2403         /// Left
2404         /// </summary>
2405         [EditorBrowsable(EditorBrowsableState.Never)]
2406         public static Vector2 Left
2407         {
2408             get
2409             {
2410                 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionLeftGet();
2411                 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2412                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2413                 return ret;
2414             }
2415         }
2416     }
2417 }