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