[NUI] Add SetHiddenInput, GetHiddenInput to TextField
[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     /// <since_tizen> 3 </since_tizen>
747     public enum WindowType
748     {
749         /// <summary>
750         /// A default window type.<br />
751         /// Indicates a normal or top-level window.
752         /// Almost every window will be created with this type.
753         /// </summary>
754         Normal,
755         /// <summary>
756         /// A notification window, like a warning about battery life or a new email received.
757         /// </summary>
758         Notification,
759         /// <summary>
760         /// A persistent utility window, like a toolbox or a palette.
761         /// </summary>
762         Utility,
763         /// <summary>
764         /// Used for simple dialog windows.
765         /// </summary>
766         Dialog,
767         /// <summary>
768         /// Used for IME window that is used for keyboard window.
769         /// It should be set in Application's New input param when application is created.
770         /// In addition, it is only for internal keyboard application.
771         /// This should be hidden.
772         /// </summary>
773         [EditorBrowsable(EditorBrowsableState.Never)]
774         Ime
775     }
776
777     /// <since_tizen> 3 </since_tizen>
778     [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
779     public enum DisposeTypes
780     {
781         /// <summary>
782         /// Called By User
783         /// </summary>
784         /// <since_tizen> 3 </since_tizen>
785         Explicit,
786         /// <summary>
787         /// Called by DisposeQueue
788         /// </summary>
789         /// <since_tizen> 3 </since_tizen>
790         Implicit,
791     }
792
793     /// <summary>
794     /// An enum of the scroll state of the text editor.
795     /// </summary>
796     /// <since_tizen> 3 </since_tizen>
797     public enum ScrollState
798     {
799         /// <summary>
800         /// Scrolling is started.
801         /// </summary>
802         Started,
803
804         /// <summary>
805         /// Scrolling is finished.
806         /// </summary>
807         Finished
808     }
809
810     /// <summary>
811     /// An enum of the line wrap mode of text controls.
812     /// </summary>
813     /// <since_tizen> 4 </since_tizen>
814     public enum LineWrapMode
815     {
816         /// <summary>
817         /// The word mode will move a word to the next line.
818         /// </summary>
819         /// <since_tizen> 4 </since_tizen>
820         Word,
821
822         /// <summary>
823         /// character will move character by character to the next line.
824         /// </summary>
825         /// <since_tizen> 4 </since_tizen>
826         Character,
827
828         /// <summary>
829         /// Hyphenation mode will move part of the word (at possible hyphen locations)
830         /// to the next line and draw a hyphen at the end of the line.
831         /// </summary>
832         [EditorBrowsable(EditorBrowsableState.Never)]
833         Hyphenation,
834
835         /// <summary>
836         /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
837         /// </summary>
838         [EditorBrowsable(EditorBrowsableState.Never)]
839         Mixed
840     }
841
842     /// <summary>
843     /// An enum of text directions.
844     /// </summary>
845     /// <since_tizen> 5 </since_tizen>
846     public enum TextDirection
847     {
848         /// <summary>
849         /// Text direction is from left to right.
850         /// </summary>
851         /// <since_tizen> 5 </since_tizen>
852         LeftToRight,
853
854         /// <summary>
855         /// Text direction is from right to left.
856         /// </summary>
857         /// <since_tizen> 5 </since_tizen>
858         RightToLeft
859     }
860
861     /// <summary>
862     /// An enum of vertical line alignments.
863     /// </summary>
864     /// <since_tizen> 5 </since_tizen>
865     public enum VerticalLineAlignment
866     {
867         /// <summary>
868         /// vertical line alignment is from top.
869         /// </summary>
870         /// <since_tizen> 5 </since_tizen>
871         Top,
872
873         /// <summary>
874         /// vertical line alignment is from center.
875         /// </summary>
876         /// <since_tizen> 5 </since_tizen>
877         Center,
878
879         /// <summary>
880         /// vertical line alignment is from bottom.
881         /// </summary>
882         /// <since_tizen> 5 </since_tizen>
883         Bottom
884     }
885
886     /// <summary>
887     /// An enum of ellipsis position.
888     /// </summary>
889     [EditorBrowsable(EditorBrowsableState.Never)]
890     public enum EllipsisPosition
891     {
892         /// <summary>
893         /// ellipsis position at end.
894         /// </summary>
895         [EditorBrowsable(EditorBrowsableState.Never)]
896         End,
897
898         /// <summary>
899         /// ellipsis position at start.
900         /// </summary>
901         [EditorBrowsable(EditorBrowsableState.Never)]
902         Start,
903
904         /// <summary>
905         /// ellipsis position in middle.
906         /// </summary>
907         [EditorBrowsable(EditorBrowsableState.Never)]
908         Middle
909     }
910
911     /// <summary>
912     /// Enumeration type for the font's slant.
913     /// </summary>
914     /// <since_tizen> 5 </since_tizen>
915     public enum FontSlantType
916     {
917         /// <summary>
918         /// None.
919         /// </summary>
920         /// <since_tizen> 5 </since_tizen>
921         None,
922         /// <summary>
923         /// Normal.
924         /// </summary>
925         /// <since_tizen> 5 </since_tizen>
926         Normal,
927         /// <summary>
928         /// Roman.
929         /// </summary>
930         /// <since_tizen> 5 </since_tizen>
931         Roman = Normal,
932         /// <summary>
933         /// Italic.
934         /// </summary>
935         /// <since_tizen> 5 </since_tizen>
936         Italic,
937         /// <summary>
938         /// Oblique.
939         /// </summary>
940         /// <since_tizen> 5 </since_tizen>
941         Oblique
942     }
943
944     /// <summary>
945     /// Enumeration type for the font's weight.
946     /// </summary>
947     /// <since_tizen> 5 </since_tizen>
948     public enum FontWeightType
949     {
950         /// <summary>
951         /// None.
952         /// </summary>
953         /// <since_tizen> 5 </since_tizen>
954         None,
955         /// <summary>
956         /// Thin.
957         /// </summary>
958         /// <since_tizen> 5 </since_tizen>
959         Thin,
960         /// <summary>
961         /// UltraLight.
962         /// </summary>
963         /// <since_tizen> 5 </since_tizen>
964         UltraLight,
965         /// <summary>
966         /// ExtraLight.
967         /// </summary>
968         /// <since_tizen> 5 </since_tizen>
969         ExtraLight = UltraLight,
970         /// <summary>
971         /// Light.
972         /// </summary>
973         /// <since_tizen> 5 </since_tizen>
974         Light,
975         /// <summary>
976         /// DemiLight.
977         /// </summary>
978         /// <since_tizen> 5 </since_tizen>
979         DemiLight,
980         /// <summary>
981         /// SemiLight.
982         /// </summary>
983         /// <since_tizen> 5 </since_tizen>
984         SemiLight = DemiLight,
985         /// <summary>
986         /// Book.
987         /// </summary>
988         /// <since_tizen> 5 </since_tizen>
989         Book,
990         /// <summary>
991         /// Normal.
992         /// </summary>
993         /// <since_tizen> 5 </since_tizen>
994         Normal,
995         /// <summary>
996         /// Regular.
997         /// </summary>
998         /// <since_tizen> 5 </since_tizen>
999         Regular = Normal,
1000         /// <summary>
1001         /// Medium.
1002         /// </summary>
1003         /// <since_tizen> 5 </since_tizen>
1004         Medium,
1005         /// <summary>
1006         /// DemiBold.
1007         /// </summary>
1008         /// <since_tizen> 5 </since_tizen>
1009         DemiBold,
1010         /// <summary>
1011         /// SemiBold.
1012         /// </summary>
1013         /// <since_tizen> 5 </since_tizen>
1014         SemiBold = DemiBold,
1015         /// <summary>
1016         /// Bold.
1017         /// </summary>
1018         /// <since_tizen> 5 </since_tizen>
1019         Bold,
1020         /// <summary>
1021         /// UltraBold.
1022         /// </summary>
1023         /// <since_tizen> 5 </since_tizen>
1024         UltraBold,
1025         /// <summary>
1026         /// ExtraBold.
1027         /// </summary>
1028         /// <since_tizen> 5 </since_tizen>
1029         ExtraBold = UltraBold,
1030         /// <summary>
1031         /// Black.
1032         /// </summary>
1033         /// <since_tizen> 5 </since_tizen>
1034         Black,
1035         /// <summary>
1036         /// Heavy.
1037         /// </summary>
1038         /// <since_tizen> 5 </since_tizen>
1039         Heavy = Black,
1040         /// <summary>
1041         /// ExtraBlack.
1042         /// </summary>
1043         /// <since_tizen> 5 </since_tizen>
1044         ExtraBlack = Black
1045     }
1046
1047     /// <summary>
1048     /// Enumeration type for the font's width.
1049     /// </summary>
1050     /// <since_tizen> 5 </since_tizen>
1051     public enum FontWidthType
1052     {
1053         /// <summary>
1054         /// None.
1055         /// </summary>
1056         /// <since_tizen> 5 </since_tizen>
1057         None,
1058         /// <summary>
1059         /// UltraCondensed.
1060         /// </summary>
1061         /// <since_tizen> 5 </since_tizen>
1062         UltraCondensed,
1063         /// <summary>
1064         /// ExtraCondensed.
1065         /// </summary>
1066         /// <since_tizen> 5 </since_tizen>
1067         ExtraCondensed,
1068         /// <summary>
1069         /// Condensed.
1070         /// </summary>
1071         /// <since_tizen> 5 </since_tizen>
1072         Condensed,
1073         /// <summary>
1074         /// SemiCondensed.
1075         /// </summary>
1076         /// <since_tizen> 5 </since_tizen>
1077         SemiCondensed,
1078         /// <summary>
1079         /// Normal.
1080         /// </summary>
1081         /// <since_tizen> 5 </since_tizen>
1082         Normal,
1083         /// <summary>
1084         /// SemiExpanded.
1085         /// </summary>
1086         /// <since_tizen> 5 </since_tizen>
1087         SemiExpanded,
1088         /// <summary>
1089         /// Expanded.
1090         /// </summary>
1091         /// <since_tizen> 5 </since_tizen>
1092         Expanded,
1093         /// <summary>
1094         /// ExtraExpanded.
1095         /// </summary>
1096         /// <since_tizen> 5 </since_tizen>
1097         ExtraExpanded,
1098         /// <summary>
1099         /// UltraExpanded.
1100         /// </summary>
1101         /// <since_tizen> 5 </since_tizen>
1102         UltraExpanded
1103     }
1104
1105     /// <summary>
1106     /// Enumeration type for the glyph type.
1107     /// </summary>
1108     /// <since_tizen> 5 </since_tizen>
1109     public enum GlyphType
1110     {
1111         /// <summary>
1112         /// Glyph stored as pixels.
1113         /// </summary>
1114         /// <since_tizen> 5 </since_tizen>
1115         BitmapGlyph,
1116         /// <summary>
1117         /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1118         /// </summary>
1119         /// <since_tizen> 5 </since_tizen>
1120         VectorGlyph
1121     }
1122
1123     /// <summary>
1124     /// Enumeration for Setting the rendering behavior of a Window.
1125     /// </summary>
1126     /// <since_tizen> 5 </since_tizen>
1127     public enum RenderingBehaviorType
1128     {
1129         /// <summary>
1130         /// Default. Only renders if required.
1131         /// </summary>
1132         IfRequired,
1133         /// <summary>
1134         /// Renders continuously.
1135         /// </summary>
1136         Continuously
1137     }
1138
1139     /// <summary>
1140     /// The HiddenInput property.
1141     /// </summary>
1142     /// <since_tizen> 3 </since_tizen>
1143     public struct HiddenInputProperty
1144     {
1145         /// <summary>
1146         /// The mode for input text display.
1147         /// </summary>
1148         /// <since_tizen> 3 </since_tizen>
1149         public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1150         /// <summary>
1151         /// All input characters are substituted by this character.
1152         /// </summary>
1153         /// <since_tizen> 3 </since_tizen>
1154         public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1155         /// <summary>
1156         /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1157         /// </summary>
1158         /// <since_tizen> 3 </since_tizen>
1159         public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1160         /// <summary>
1161         /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1162         /// </summary>
1163         /// <since_tizen> 4 </since_tizen>
1164         public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1165     }
1166
1167     /// <summary>
1168     /// ParentOrigin constants.
1169     /// </summary>
1170     /// <since_tizen> 3 </since_tizen>
1171     public struct ParentOrigin
1172     {
1173         /// <summary>
1174         /// Top
1175         /// </summary>
1176         /// <since_tizen> 3 </since_tizen>
1177         public static float Top
1178         {
1179             get
1180             {
1181                 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1182                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1183                 return ret;
1184             }
1185         }
1186
1187         /// <summary>
1188         /// Bottom
1189         /// </summary>
1190         /// <since_tizen> 3 </since_tizen>
1191         public static float Bottom
1192         {
1193             get
1194             {
1195                 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1196                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1197                 return ret;
1198             }
1199         }
1200
1201         /// <summary>
1202         /// Left
1203         /// </summary>
1204         /// <since_tizen> 3 </since_tizen>
1205         public static float Left
1206         {
1207             get
1208             {
1209                 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1210                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1211                 return ret;
1212             }
1213         }
1214
1215         /// <summary>
1216         /// Right
1217         /// </summary>
1218         /// <since_tizen> 3 </since_tizen>
1219         public static float Right
1220         {
1221             get
1222             {
1223                 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1224                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1225                 return ret;
1226             }
1227         }
1228
1229         /// <summary>
1230         /// Middle
1231         /// </summary>
1232         /// <since_tizen> 3 </since_tizen>
1233         public static float Middle
1234         {
1235             get
1236             {
1237                 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1238                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1239                 return ret;
1240             }
1241         }
1242
1243         /// <summary>
1244         /// TopLeft
1245         /// </summary>
1246         /// <since_tizen> 3 </since_tizen>
1247         public static Position TopLeft
1248         {
1249             get
1250             {
1251                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1252                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1253                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1254                 return ret;
1255             }
1256         }
1257
1258         /// <summary>
1259         /// TopCenter
1260         /// </summary>
1261         /// <since_tizen> 3 </since_tizen>
1262         public static Position TopCenter
1263         {
1264             get
1265             {
1266                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1267                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1268                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1269                 return ret;
1270             }
1271         }
1272
1273         /// <summary>
1274         /// TopRight
1275         /// </summary>
1276         /// <since_tizen> 3 </since_tizen>
1277         public static Position TopRight
1278         {
1279             get
1280             {
1281                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1282                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1283                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1284                 return ret;
1285             }
1286         }
1287
1288         /// <summary>
1289         /// CenterLeft
1290         /// </summary>
1291         /// <since_tizen> 3 </since_tizen>
1292         public static Position CenterLeft
1293         {
1294             get
1295             {
1296                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1297                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1298                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1299                 return ret;
1300             }
1301         }
1302
1303         /// <summary>
1304         /// Center
1305         /// </summary>
1306         /// <since_tizen> 3 </since_tizen>
1307         public static Position Center
1308         {
1309             get
1310             {
1311                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1312                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1313                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1314                 return ret;
1315             }
1316         }
1317
1318         /// <summary>
1319         /// CenterRight
1320         /// </summary>
1321         /// <since_tizen> 3 </since_tizen>
1322         public static Position CenterRight
1323         {
1324             get
1325             {
1326                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1327                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1328                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1329                 return ret;
1330             }
1331         }
1332
1333         /// <summary>
1334         /// BottomLeft
1335         /// </summary>
1336         /// <since_tizen> 3 </since_tizen>
1337         public static Position BottomLeft
1338         {
1339             get
1340             {
1341                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1342                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1343                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1344                 return ret;
1345             }
1346         }
1347
1348         /// <summary>
1349         /// BottomCenter
1350         /// </summary>
1351         /// <since_tizen> 3 </since_tizen>
1352         public static Position BottomCenter
1353         {
1354             get
1355             {
1356                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1357                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1358                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1359                 return ret;
1360             }
1361         }
1362
1363         /// <summary>
1364         /// BottomRight
1365         /// </summary>
1366         /// <since_tizen> 3 </since_tizen>
1367         public static Position BottomRight
1368         {
1369             get
1370             {
1371                 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1372                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1373                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1374                 return ret;
1375             }
1376         }
1377     }
1378
1379     /// <summary>
1380     /// PivotPoint constants.
1381     /// </summary>
1382     /// <since_tizen> 3 </since_tizen>
1383     public struct PivotPoint
1384     {
1385         /// <summary>
1386         /// Top
1387         /// </summary>
1388         /// <since_tizen> 3 </since_tizen>
1389         public static float Top
1390         {
1391             get
1392             {
1393                 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1394                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1395                 return ret;
1396             }
1397         }
1398         /// <summary>
1399         /// Bottom
1400         /// </summary>
1401         /// <since_tizen> 3 </since_tizen>
1402         public static float Bottom
1403         {
1404             get
1405             {
1406                 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1407                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1408                 return ret;
1409             }
1410         }
1411         /// <summary>
1412         /// Left
1413         /// </summary>
1414         /// <since_tizen> 3 </since_tizen>
1415         public static float Left
1416         {
1417             get
1418             {
1419                 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1420                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1421                 return ret;
1422             }
1423         }
1424         /// <summary>
1425         /// Right
1426         /// </summary>
1427         /// <since_tizen> 3 </since_tizen>
1428         public static float Right
1429         {
1430             get
1431             {
1432                 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1433                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1434                 return ret;
1435             }
1436         }
1437         /// <summary>
1438         /// Middle
1439         /// </summary>
1440         /// <since_tizen> 3 </since_tizen>
1441         public static float Middle
1442         {
1443             get
1444             {
1445                 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1446                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1447                 return ret;
1448             }
1449         }
1450         /// <summary>
1451         /// TopLeft
1452         /// </summary>
1453         /// <since_tizen> 3 </since_tizen>
1454         public static Position TopLeft
1455         {
1456             get
1457             {
1458                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1459                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1460                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1461                 return ret;
1462             }
1463         }
1464         /// <summary>
1465         /// TopCenter
1466         /// </summary>
1467         /// <since_tizen> 3 </since_tizen>
1468         public static Position TopCenter
1469         {
1470             get
1471             {
1472                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1473                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1474                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1475                 return ret;
1476             }
1477         }
1478         /// <summary>
1479         /// TopRight
1480         /// </summary>
1481         /// <since_tizen> 3 </since_tizen>
1482         public static Position TopRight
1483         {
1484             get
1485             {
1486                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1487                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1488                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1489                 return ret;
1490             }
1491         }
1492         /// <summary>
1493         /// CenterLeft
1494         /// </summary>
1495         /// <since_tizen> 3 </since_tizen>
1496         public static Position CenterLeft
1497         {
1498             get
1499             {
1500                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1501                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1502                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1503                 return ret;
1504             }
1505         }
1506         /// <summary>
1507         /// Center
1508         /// </summary>
1509         /// <since_tizen> 3 </since_tizen>
1510         public static Position Center
1511         {
1512             get
1513             {
1514                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1515                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1516                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1517                 return ret;
1518             }
1519         }
1520         /// <summary>
1521         /// CenterRight
1522         /// </summary>
1523         /// <since_tizen> 3 </since_tizen>
1524         public static Position CenterRight
1525         {
1526             get
1527             {
1528                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1529                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1530                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1531                 return ret;
1532             }
1533         }
1534         /// <summary>
1535         /// BottomLeft
1536         /// </summary>
1537         /// <since_tizen> 3 </since_tizen>
1538         public static Position BottomLeft
1539         {
1540             get
1541             {
1542                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1543                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1544                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1545                 return ret;
1546             }
1547         }
1548         /// <summary>
1549         /// BottomCenter
1550         /// </summary>
1551         /// <since_tizen> 3 </since_tizen>
1552         public static Position BottomCenter
1553         {
1554             get
1555             {
1556                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1557                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1558                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1559                 return ret;
1560             }
1561         }
1562         /// <summary>
1563         /// BottomRight
1564         /// </summary>
1565         /// <since_tizen> 3 </since_tizen>
1566         public static Position BottomRight
1567         {
1568             get
1569             {
1570                 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1571                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1572                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1573                 return ret;
1574             }
1575         }
1576     }
1577     /// <summary>
1578     /// PositionAxis constants.
1579     /// </summary>
1580     /// <since_tizen> 3 </since_tizen>
1581     public struct PositionAxis
1582     {
1583         /// <summary>
1584         /// The X axis
1585         /// </summary>
1586         /// <since_tizen> 3 </since_tizen>
1587         public static Position X
1588         {
1589             get
1590             {
1591                 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1592                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1593                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1594                 return ret;
1595             }
1596         }
1597         /// <summary>
1598         /// The Y axis
1599         /// </summary>
1600         /// <since_tizen> 3 </since_tizen>
1601         public static Position Y
1602         {
1603             get
1604             {
1605                 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1606                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1607                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1608                 return ret;
1609             }
1610         }
1611         /// <summary>
1612         /// The Z axis
1613         /// </summary>
1614         /// <since_tizen> 3 </since_tizen>
1615         public static Position Z
1616         {
1617             get
1618             {
1619                 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1620                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1621                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1622                 return ret;
1623             }
1624         }
1625         /// <summary>
1626         /// The Negative X axis
1627         /// </summary>
1628         /// <since_tizen> 3 </since_tizen>
1629         public static Position NegativeX
1630         {
1631             get
1632             {
1633                 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1634                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1635                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1636                 return ret;
1637             }
1638         }
1639         /// <summary>
1640         /// The Negative Y axis
1641         /// </summary>
1642         /// <since_tizen> 3 </since_tizen>
1643         public static Position NegativeY
1644         {
1645             get
1646             {
1647                 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1648                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1649                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1650                 return ret;
1651             }
1652         }
1653         /// <summary>
1654         /// The Negative Z axis
1655         /// </summary>
1656         /// <since_tizen> 3 </since_tizen>
1657         public static Position NegativeZ
1658         {
1659             get
1660             {
1661                 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1662                 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1663                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1664                 return ret;
1665             }
1666         }
1667     }
1668
1669     /// <summary>
1670     /// [Obsolete("Please do not use! this will be deprecated")]
1671     /// </summary>
1672     /// <since_tizen> 3 </since_tizen>
1673     [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1674     [EditorBrowsable(EditorBrowsableState.Never)]
1675     public struct AnchorPoint
1676     {
1677         /// <summary>
1678         /// Top
1679         /// </summary>
1680         /// <since_tizen> 3 </since_tizen>
1681         public static float Top
1682         {
1683             get
1684             {
1685                 return PivotPoint.Top;
1686             }
1687         }
1688         /// <summary>
1689         /// Bottom
1690         /// </summary>
1691         /// <since_tizen> 3 </since_tizen>
1692         public static float Bottom
1693         {
1694             get
1695             {
1696                 return PivotPoint.Bottom;
1697             }
1698         }
1699         /// <summary>
1700         /// Left
1701         /// </summary>
1702         /// <since_tizen> 3 </since_tizen>
1703         public static float Left
1704         {
1705             get
1706             {
1707                 return PivotPoint.Left;
1708             }
1709         }
1710         /// <summary>
1711         /// Right
1712         /// </summary>
1713         /// <since_tizen> 3 </since_tizen>
1714         public static float Right
1715         {
1716             get
1717             {
1718                 return PivotPoint.Right;
1719             }
1720         }
1721         /// <summary>
1722         /// Middle
1723         /// </summary>
1724         /// <since_tizen> 3 </since_tizen>
1725         public static float Middle
1726         {
1727             get
1728             {
1729                 return PivotPoint.Middle;
1730             }
1731         }
1732         /// <summary>
1733         /// TopLeft
1734         /// </summary>
1735         /// <since_tizen> 3 </since_tizen>
1736         public static Position TopLeft
1737         {
1738             get
1739             {
1740                 return PivotPoint.TopLeft;
1741             }
1742         }
1743         /// <summary>
1744         /// TopCenter
1745         /// </summary>
1746         /// <since_tizen> 3 </since_tizen>
1747         public static Position TopCenter
1748         {
1749             get
1750             {
1751                 return PivotPoint.TopCenter;
1752             }
1753         }
1754         /// <summary>
1755         /// TopRight
1756         /// </summary>
1757         /// <since_tizen> 3 </since_tizen>
1758         public static Position TopRight
1759         {
1760             get
1761             {
1762                 return PivotPoint.TopRight;
1763             }
1764         }
1765         /// <summary>
1766         /// CenterLeft
1767         /// </summary>
1768         /// <since_tizen> 3 </since_tizen>
1769         public static Position CenterLeft
1770         {
1771             get
1772             {
1773                 return PivotPoint.CenterLeft;
1774             }
1775         }
1776         /// <summary>
1777         /// Center
1778         /// </summary>
1779         /// <since_tizen> 3 </since_tizen>
1780         public static Position Center
1781         {
1782             get
1783             {
1784                 return PivotPoint.Center;
1785             }
1786         }
1787         /// <summary>
1788         /// CenterRight
1789         /// </summary>
1790         /// <since_tizen> 3 </since_tizen>
1791         public static Position CenterRight
1792         {
1793             get
1794             {
1795                 return PivotPoint.CenterRight;
1796             }
1797         }
1798         /// <summary>
1799         /// BottomLeft
1800         /// </summary>
1801         /// <since_tizen> 3 </since_tizen>
1802         public static Position BottomLeft
1803         {
1804             get
1805             {
1806                 return PivotPoint.BottomLeft;
1807             }
1808         }
1809         /// <summary>
1810         /// BottomCenter
1811         /// </summary>
1812         /// <since_tizen> 3 </since_tizen>
1813         public static Position BottomCenter
1814         {
1815             get
1816             {
1817                 return PivotPoint.BottomCenter;
1818             }
1819         }
1820         /// <summary>
1821         /// BottomRight
1822         /// </summary>
1823         /// <since_tizen> 3 </since_tizen>
1824         public static Position BottomRight
1825         {
1826             get
1827             {
1828                 return PivotPoint.BottomRight;
1829             }
1830         }
1831     }
1832
1833     /// <summary>
1834     /// Enumeration for setting cache model of a WebView.
1835     /// </summary>
1836     [EditorBrowsable(EditorBrowsableState.Never)]
1837     public enum CacheModel
1838     {
1839         /// <summary>
1840         /// Use the smallest cache capacity.
1841         /// </summary>
1842         DocumentViewer,
1843         /// <summary>
1844         /// Use the bigger cache capacity than DocumentBrowser.
1845         /// </summary>
1846         DocumentBrowser,
1847         /// <summary>
1848         /// Use the biggest cache capacity.
1849         /// </summary>
1850         PrimaryWebBrowser
1851     }
1852
1853     /// <summary>
1854     /// Enumeration for setting cache model of a WebView.
1855     /// </summary>
1856     [EditorBrowsable(EditorBrowsableState.Never)]
1857     public enum CookieAcceptPolicy
1858     {
1859         /// <summary>
1860         /// Accepts every cookie sent from any page.
1861         /// </summary>
1862         Always,
1863         /// <summary>
1864         /// Rejects all the cookies.
1865         /// </summary>
1866         Never,
1867         /// <summary>
1868         /// Accepts only cookies set by the main document that is loaded.
1869         /// </summary>
1870         NoThirdParty
1871     }
1872
1873     /// <summary>
1874     /// FontSizeScale constant.
1875     /// </summary>
1876     /// <since_tizen> 9 </since_tizen>
1877     public struct FontSizeScale
1878     {
1879         /// <summary>
1880         /// UseSystemSetting
1881         /// </summary>
1882         /// <since_tizen> 9 </since_tizen>
1883         public const float UseSystemSetting = -1.0f;
1884     }
1885
1886     /// <summary>
1887     /// Offset has left, right, bottom, top value.
1888     /// </summary>
1889     [EditorBrowsable(EditorBrowsableState.Never)]
1890     public struct Offset
1891     {
1892         /// <summary>
1893         /// Constructor
1894         /// </summary>
1895         /// <param name="left">left offset</param>
1896         /// <param name="right">right offset</param>
1897         /// <param name="bottom">bottom offset</param>
1898         /// <param name="top">top offset</param>
1899         [EditorBrowsable(EditorBrowsableState.Never)]
1900         public Offset(int left, int right, int bottom, int top)
1901         {
1902             Left = left;
1903             Right = right;
1904             Bottom = bottom;
1905             Top = top;
1906         }
1907
1908         /// <summary>
1909         /// Left
1910         /// </summary>
1911         [EditorBrowsable(EditorBrowsableState.Never)]
1912         public int Left {get; set;}
1913
1914         /// <summary>
1915         /// Right
1916         /// </summary>
1917         [EditorBrowsable(EditorBrowsableState.Never)]
1918         public int Right {get; set;}
1919
1920         /// <summary>
1921         /// Bottom
1922         /// </summary>
1923         [EditorBrowsable(EditorBrowsableState.Never)]
1924         public int Bottom {get; set;}
1925
1926         /// <summary>
1927         /// Top
1928         /// </summary>
1929         [EditorBrowsable(EditorBrowsableState.Never)]
1930         public int Top {get; set;}
1931
1932     }
1933
1934     /// <summary>
1935     /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1936     /// Internal use only. Do not open this API.
1937     /// </summary>
1938     internal struct FrameworkInformation
1939     {
1940         public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1941     }
1942
1943     /// <summary>
1944     /// This Enumeration is used the GLES version for EGL configuration.<br />
1945     /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1946     /// It is for GLWindow and GLView.<br />
1947     /// </summary>
1948     [EditorBrowsable(EditorBrowsableState.Never)]
1949     public enum GLESVersion
1950     {
1951       /// <summary>
1952       /// GLES version 2.0
1953       /// </summary>
1954       [EditorBrowsable(EditorBrowsableState.Never)]
1955       Version20 = 0,
1956
1957       /// <summary>
1958       /// GLES version 3.0
1959       /// </summary>
1960       [EditorBrowsable(EditorBrowsableState.Never)]
1961       Version30
1962     }
1963
1964     /// <summary>
1965     /// Enumeration for rendering mode
1966     /// This Enumeration is used to choose the rendering mode.
1967     /// It has two options.
1968     /// One of them is continuous mode. It is rendered continuously.
1969     /// The other is on demand mode. It is rendered by application.
1970     /// It is for GLWindow and GLView.
1971     /// </summary>
1972     [EditorBrowsable(EditorBrowsableState.Never)]
1973     public enum GLRenderingMode
1974     {
1975       /// <summary>
1976       /// continuous mode
1977       /// </summary>
1978       [EditorBrowsable(EditorBrowsableState.Never)]
1979       Continuous = 0,
1980
1981       /// <summary>
1982       /// on demand by application
1983       /// </summary>
1984       [EditorBrowsable(EditorBrowsableState.Never)]
1985       OnDemand = 1
1986     }
1987
1988     /// <summary>
1989     /// Enumeration for the type of InputFilter. <br />
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. <br />
1993     /// </remarks>
1994     [EditorBrowsable(EditorBrowsableState.Never)]
1995     public enum InputFilterType
1996     {
1997         /// <summary>
1998         /// The type of InputFilter is Accept.
1999         /// </summary>
2000         [EditorBrowsable(EditorBrowsableState.Never)]
2001         Accept,
2002
2003         /// <summary>
2004         /// The type of InputFilter is Reject.
2005         /// </summary>
2006         [EditorBrowsable(EditorBrowsableState.Never)]
2007         Reject
2008     }
2009
2010     /// <summary>
2011     /// Enumeration for the size type of font. <br />
2012     /// </summary>
2013     /// <remarks>
2014     /// The size type of font used as a property of <see cref="Tizen.NUI.Text.TextFit"/>. <br />
2015     /// </remarks>
2016     [EditorBrowsable(EditorBrowsableState.Never)]
2017     public enum FontSizeType
2018     {
2019         /// <summary>
2020         /// The PointSize.
2021         /// </summary>
2022         [EditorBrowsable(EditorBrowsableState.Never)]
2023         PointSize,
2024
2025         /// <summary>
2026         /// The PixelSize.
2027         /// </summary>
2028         [EditorBrowsable(EditorBrowsableState.Never)]
2029         PixelSize
2030     }
2031
2032     namespace Text
2033     {
2034         /// <summary>
2035         /// A struct to pass data of InputFilter PropertyMap. <br />
2036         /// </summary>
2037         /// <remarks>
2038         /// InputFilter filters input based on regular expressions. <br />
2039         /// Users can set the Accepted or Rejected regular expression set, or both. <br />
2040         /// If both are used, Rejected has higher priority. <br />
2041         /// The character set must follow the regular expression rules. <br />
2042         /// Behaviour can not be guaranteed for incorrect grammars. <br />
2043         /// Refer the link below for detailed rules. <br />
2044         /// The functions in std::regex library use the ECMAScript grammar: <br />
2045         /// http://cplusplus.com/reference/regex/ECMAScript/ <br />
2046         /// The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods. <br />
2047         /// 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 />
2048         /// </remarks>
2049         [EditorBrowsable(EditorBrowsableState.Never)]
2050         public struct InputFilter
2051         {
2052             /// <summary>
2053             /// A regular expression in the set of characters to be accepted by the inputFilter.
2054             /// </summary>
2055             [EditorBrowsable(EditorBrowsableState.Never)]
2056             public string Accepted { get; set; }
2057
2058             /// <summary>
2059             /// A regular expression in the set of characters to be rejected by the inputFilter.
2060             /// </summary>
2061             [EditorBrowsable(EditorBrowsableState.Never)]
2062             public string Rejected { get; set; }
2063         }
2064
2065         /// <summary>
2066         /// A struct to pass data of FontStyle PropertyMap. <br />
2067         /// </summary>
2068         /// <remarks>
2069         /// The FontStyle struct is used as an argument to SetFontStyle and GetFontStyle methods. <br />
2070         /// 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 />
2071         /// </remarks>
2072         [EditorBrowsable(EditorBrowsableState.Never)]
2073         public struct FontStyle
2074         {
2075             /// <summary>
2076             /// The Width defines occupied by each glyph.
2077             /// </summary>
2078             [EditorBrowsable(EditorBrowsableState.Never)]
2079             public FontWidthType Width { get; set; }
2080
2081             /// <summary>
2082             /// The Weight defines the thickness or darkness of the glyphs.
2083             /// </summary>
2084             [EditorBrowsable(EditorBrowsableState.Never)]
2085             public FontWeightType Weight { get; set; }
2086
2087             /// <summary>
2088             /// The Slant defines whether to use italics.
2089             /// </summary>
2090             [EditorBrowsable(EditorBrowsableState.Never)]
2091             public FontSlantType Slant { get; set; }
2092         }
2093
2094         /// <summary>
2095         /// A struct to pass data of Underline PropertyMap. <br />
2096         /// </summary>
2097         /// <remarks>
2098         /// The Underline struct is used as an argument to SetUnderline and GetUnderline methods. <br />
2099         /// 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 />
2100         /// </remarks>
2101         [EditorBrowsable(EditorBrowsableState.Never)]
2102         public struct Underline
2103         {
2104             /// <summary>
2105             /// Whether the underline is enabled (the default value is false).
2106             /// </summary>
2107             [EditorBrowsable(EditorBrowsableState.Never)]
2108             public bool Enable { get; set; }
2109
2110             /// <summary>
2111             /// The color of the underline (if not provided then the color of the text is used).
2112             /// </summary>
2113             [EditorBrowsable(EditorBrowsableState.Never)]
2114             public Color Color { get; set; }
2115
2116             /// <summary>
2117             /// The height in pixels of the underline (if null, the default value is 1.0f).
2118             /// </summary>
2119             [EditorBrowsable(EditorBrowsableState.Never)]
2120             public float? Height { get; set; }
2121         }
2122
2123         /// <summary>
2124         /// A struct to pass data of Shadow PropertyMap. <br />
2125         /// </summary>
2126         /// <remarks>
2127         /// The Shadow struct is used as an argument to SetShadow and GetShadow methods. <br />
2128         /// 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 />
2129         /// </remarks>
2130         [EditorBrowsable(EditorBrowsableState.Never)]
2131         public struct Shadow
2132         {
2133             /// <summary>
2134             /// The color of the shadow (the default color is Color.Black).
2135             /// </summary>
2136             [EditorBrowsable(EditorBrowsableState.Never)]
2137             public Color Color { get; set; }
2138
2139             /// <summary>
2140             /// The offset in pixels of the shadow (if null, the default value is 0, 0). <br />
2141             /// If not provided then the shadow is not enabled. <br />
2142             ///  
2143             /// </summary>
2144             [EditorBrowsable(EditorBrowsableState.Never)]
2145             public Vector2 Offset { get; set; }
2146
2147             /// <summary>
2148             /// The radius of the Gaussian blur for the soft shadow (if null, the default value is 0.0f). <br />
2149             /// If not provided then the soft shadow is not enabled. <br />
2150             /// </summary>
2151             [EditorBrowsable(EditorBrowsableState.Never)]
2152             public float? BlurRadius { get; set; }
2153         }
2154
2155         /// <summary>
2156         /// A struct to pass data of Outline PropertyMap. <br />
2157         /// </summary>
2158         /// <remarks>
2159         /// The Outline struct is used as an argument to SetOutline and GetOutline methods. <br />
2160         /// 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 />
2161         /// </remarks>
2162         [EditorBrowsable(EditorBrowsableState.Never)]
2163         public struct Outline
2164         {
2165             /// <summary>
2166             /// The color of the outline (the default color is Color.White).
2167             /// </summary>
2168             [EditorBrowsable(EditorBrowsableState.Never)]
2169             public Color Color { get; set; }
2170
2171             /// <summary>
2172             /// The width in pixels of the outline (if null, the default value is 0.0f). <br />
2173             /// If not provided then the outline is not enabled. <br />
2174             /// </summary>
2175             [EditorBrowsable(EditorBrowsableState.Never)]
2176             public float? Width { get; set; }
2177         }
2178
2179         /// <summary>
2180         /// A struct to pass data of TextFit PropertyMap. <br />
2181         /// </summary>
2182         /// <remarks>
2183         /// The TextFit struct is used as an argument to SetTextFit and GetTextFit methods. <br />
2184         /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetTextFit"/> and <see cref="Tizen.NUI.BaseComponents.TextLabel.GetTextFit"/>. <br />
2185         /// </remarks>
2186         [EditorBrowsable(EditorBrowsableState.Never)]
2187         public struct TextFit
2188         {
2189             /// <summary>
2190             /// True to enable the text fit or false to disable (the default value is false).
2191             /// </summary>
2192             [EditorBrowsable(EditorBrowsableState.Never)]
2193             public bool Enable { get; set; }
2194
2195             /// <summary>
2196             /// Minimum Size for text fit (if null, the default value is 10.0f).
2197             /// </summary>
2198             [EditorBrowsable(EditorBrowsableState.Never)]
2199             public float? MinSize { get; set; }
2200
2201             /// <summary>
2202             /// Maximum Size for text fit (if null, the default value is 100.0f).
2203             /// </summary>
2204             [EditorBrowsable(EditorBrowsableState.Never)]
2205             public float? MaxSize { get; set; }
2206
2207             /// <summary>
2208             /// Step Size for font increase (if null, the default value is 1.0f).
2209             /// </summary>
2210             [EditorBrowsable(EditorBrowsableState.Never)]
2211             public float? StepSize { get; set; }
2212
2213             /// <summary>
2214             /// The size type of font, PointSize or PixelSize (the default value is PointSize).
2215             /// </summary>
2216             [EditorBrowsable(EditorBrowsableState.Never)]
2217             public FontSizeType FontSizeType { get; set; }
2218         }
2219
2220         /// <summary>
2221         /// A struct to pass data of Placeholder PropertyMap. <br />
2222         /// </summary>
2223         /// <remarks>
2224         /// The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods. <br />
2225         /// 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 />
2226         /// </remarks>
2227         [EditorBrowsable(EditorBrowsableState.Never)]
2228         public struct Placeholder
2229         {
2230             /// <summary>
2231             /// The text to display when the TextField is empty and inactive.
2232             /// </summary>
2233             [EditorBrowsable(EditorBrowsableState.Never)]
2234             public string Text { get; set; }
2235
2236             /// <summary>
2237             /// The text to display when the placeholder has focus.
2238             /// </summary>
2239             [EditorBrowsable(EditorBrowsableState.Never)]
2240             public string TextFocused { get; set; }
2241
2242             /// <summary>
2243             /// The color of the placeholder text.
2244             /// </summary>
2245             [EditorBrowsable(EditorBrowsableState.Never)]
2246             public Color Color { get; set; }
2247
2248             /// <summary>
2249             /// The FontFamily of the placeholder text.
2250             /// </summary>
2251             [EditorBrowsable(EditorBrowsableState.Never)]
2252             public string FontFamily { get; set; }
2253
2254             /// <summary>
2255             /// The FontStyle of the placeholder text (if null, the text control FontStyle is used).
2256             /// </summary>
2257             [EditorBrowsable(EditorBrowsableState.Never)]
2258             public FontStyle? FontStyle { get; set; }
2259
2260             /// <summary>
2261             /// The PointSize of the placeholder text. <br />
2262             /// Not required if PixelSize provided. <br />
2263             /// If both provided or neither provided then the text control point size is used. <br />
2264             /// </summary>
2265             [EditorBrowsable(EditorBrowsableState.Never)]
2266             public float? PointSize { get; set; }
2267
2268             /// <summary>
2269             /// The PiexSize of the placeholder text.
2270             /// Not required if PointSize provided. <br />
2271             /// If both provided or neither provided then the text control point size is used. <br />
2272             /// </summary>
2273             [EditorBrowsable(EditorBrowsableState.Never)]
2274             public float? PixelSize { get; set; }
2275
2276             /// <summary>
2277             /// The ellipsis of the placeholder text (the default value is false).
2278             /// </summary>
2279             [EditorBrowsable(EditorBrowsableState.Never)]
2280             public bool Ellipsis { get; set; }
2281         }
2282
2283         /// <summary>
2284         /// A struct to pass data of HiddenInputSettings PropertyMap. <br />
2285         /// </summary>
2286         /// <remarks>
2287         /// The HiddenInput struct is used as an argument to SetHiddenInput and GetHiddenInput methods. <br />
2288         /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetHiddenInput"/> and <see cref="Tizen.NUI.BaseComponents.TextField.GetHiddenInput"/>. <br />
2289         /// </remarks>
2290         [EditorBrowsable(EditorBrowsableState.Never)]
2291         public struct HiddenInput
2292         {
2293             /// <summary>
2294             /// The mode for input text display. <br />
2295             /// </summary>
2296             [EditorBrowsable(EditorBrowsableState.Never)]
2297             public HiddenInputModeType Mode { get; set; }
2298
2299             /// <summary>
2300             /// All input characters are substituted by this character (if null, the default value is '*'). <br />
2301             /// </summary>
2302             [EditorBrowsable(EditorBrowsableState.Never)]
2303             public char? SubstituteCharacter { get; set; }
2304
2305             /// <summary>
2306             /// Length of text to show or hide, available when HideCount/ShowCount mode is used (if null, the default value is 0). <br />
2307             /// </summary>
2308             [EditorBrowsable(EditorBrowsableState.Never)]
2309             public int? SubstituteCount { get; set; }
2310
2311             /// <summary>
2312             /// Hide last character after this duration, available when ShowLastCharacter mode (if null, the default value is 1000). <br />
2313             /// </summary>
2314             [EditorBrowsable(EditorBrowsableState.Never)]
2315             public int? ShowLastCharacterDuration { get; set; }
2316         }
2317     }
2318 }