1 // Copyright (c) 2019 Samsung Electronics Co., Ltd.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
16 using System.ComponentModel;
17 using System.Diagnostics.CodeAnalysis;
22 /// This specifies all the scroll mode type.
24 /// <since_tizen> 3 </since_tizen>
25 public enum ScrollModeType
28 /// Whether the content can be scrolled along the X axis or not.
30 /// <since_tizen> 3 </since_tizen>
33 /// When set, causes scroll view to snap to multiples of the
34 /// value of the interval while flicking along the X axis.
36 /// <since_tizen> 3 </since_tizen>
39 /// When set, the scroll view is unable to scroll beyond the
40 /// value of the boundary along the X axis.
42 /// <since_tizen> 3 </since_tizen>
45 /// Whether the content can be scrolled along the Y axis or not.
47 /// <since_tizen> 3 </since_tizen>
50 /// When set, causes scroll view to snap to multiples of the
51 /// value of the interval while flicking along the Y axis.
53 /// <since_tizen> 3 </since_tizen>
56 /// When set, the scroll view is unable to scroll beyond the
57 /// value of the boundary along the Y axis.
59 /// <since_tizen> 3 </since_tizen>
64 /// This specifies whether the actor uses its own color or inherits.
66 /// <since_tizen> 3 </since_tizen>
70 /// Actor will use its own color.
74 /// Actor will use its parent color.
78 /// Actor will blend its color with its parents color.
80 UseOwnMultiplyParentColor,
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.
84 UseOwnMultiplyParentAlpha
88 /// This specifies the dimension of the width or the height for size negotiation.
90 /// <since_tizen> 3 </since_tizen>
91 public enum DimensionType
102 /// Mask to cover all flags.
108 /// Enumeration for the instance of how the actor and it's children will be drawn.
110 /// <since_tizen> 3 </since_tizen>
111 public enum DrawModeType
114 /// The default draw-mode.
116 [Description("NORMAL")]
119 /// Draw the actor and its children as an overlay.
121 [Description("OVERLAY_2D")]
125 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
128 /// Deprecated.(API Level 6) Not used.
130 [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")]
131 [Description("STENCIL")]
136 /// Enumeration for size negotiation resize policies.
138 /// <since_tizen> 3 </since_tizen>
139 public enum ResizePolicyType
142 /// Size is fixed as set by SetSize.
144 [Description("FIXED")]
147 /// Size is to use the actor's natural size.
149 /// <see cref="ViewImpl.GetNaturalSize"/>
150 [Description("USE_NATURAL_SIZE")]
153 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
155 [Description("FILL_TO_PARENT")]
158 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
160 [Description("SIZE_RELATIVE_TO_PARENT")]
161 SizeRelativeToParent,
163 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
165 [Description("SIZE_FIXED_OFFSET_FROM_PARENT")]
166 SizeFixedOffsetFromParent,
168 /// The size will adjust to wrap around all children.
170 [Description("FIT_TO_CHILDREN")]
173 /// One dimension is dependent on the other.
175 [Description("DIMENSION_DEPENDENCY")]
178 /// The size will be assigned to the actor.
180 [Description("USE_ASSIGNED_SIZE")]
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
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
193 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
195 /// <since_tizen> 3 </since_tizen>
196 public enum SizeScalePolicyType
199 /// Use the size that was set.
201 [Description("USE_SIZE_SET")]
204 /// Fit within the size set maintaining natural size aspect ratio.
206 [Description("FIT_WITH_ASPECT_RATIO")]
209 /// Fit within the size set maintaining natural size aspect ratio.
211 [Description("FILL_WITH_ASPECT_RATIO")]
216 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
218 /// <since_tizen> 3 </since_tizen>
219 public enum ClippingModeType
222 /// This actor will not clip its children.
226 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
230 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
232 /// <since_tizen> 4 </since_tizen>
237 /// Enumeration for type determination of how the camera operates.
239 /// <since_tizen> 3 </since_tizen>
240 public enum CameraType
243 /// Camera orientation is taken from the CameraActor.
247 /// Camera is oriented to always look at a target.
253 /// Enumeration for the projection modes.
255 /// <since_tizen> 3 </since_tizen>
256 public enum ProjectionMode
259 /// Distance causes foreshortening; objects further from the camera appear smaller.
261 PerspectiveProjection,
263 /// Relative distance from the camera does not affect the size of objects.
265 OrthographicProjection
269 /// This specifies customView behavior types.
271 /// <since_tizen> 3 </since_tizen>
272 public enum CustomViewBehaviour
275 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
277 ViewBehaviourDefault = 0,
279 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
281 DisableSizeNegotiation = 1 << 0,
283 /// True if OnTouch() callback is required.
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,
290 /// True if OnHover() callback is required.
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,
297 /// True if OnWheel() callback is required.
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,
304 /// Use to provide key navigation support.
306 RequiresKeyboardNavigationSupport = 1 << 5,
308 /// Use to make style change event disabled.
310 DisableStyleChangeSignals = 1 << 6,
312 /// Please do not use! This will be deprecated!
314 /// <since_tizen> 3 </since_tizen>
315 [Obsolete("Please do not use! This will be deprecated!")]
316 [EditorBrowsable(EditorBrowsableState.Never)]
317 LastViewBehaviourFlag
321 /// An enum of Device Class types.
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
331 /// <since_tizen> 3 </since_tizen>
334 /// The user/seat (the user themselves).
336 /// <since_tizen> 3 </since_tizen>
339 /// A regular keyboard, numberpad or attached buttons.
341 /// <since_tizen> 3 </since_tizen>
344 /// A mouse, trackball or touchpad relative motion device.
346 /// <since_tizen> 3 </since_tizen>
349 /// A touchscreen with fingers or stylus.
351 /// <since_tizen> 3 </since_tizen>
354 /// A special pen device.
356 /// <since_tizen> 3 </since_tizen>
359 /// A pointing device based on laser, infrared or similar technology.
361 /// <since_tizen> 3 </since_tizen>
364 /// A gamepad controller or joystick.
366 /// <since_tizen> 3 </since_tizen>
371 /// An enum of Device Subclass types.
373 /// <since_tizen> 4 </since_tizen>
374 public enum DeviceSubClassType
379 /// <since_tizen> 4 </since_tizen>
382 /// The normal flat of your finger
384 /// <since_tizen> 4 </since_tizen>
389 /// <since_tizen> 4 </since_tizen>
394 /// <since_tizen> 4 </since_tizen>
397 /// The palm of a users hand
399 /// <since_tizen> 4 </since_tizen>
402 /// The side of your hand
404 /// <since_tizen> 4 </since_tizen>
407 /// The flat of your hand
409 /// <since_tizen> 4 </since_tizen>
414 /// <since_tizen> 4 </since_tizen>
417 /// A trackpad style mouse
419 /// <since_tizen> 4 </since_tizen>
422 /// A trackpoint style mouse
424 /// <since_tizen> 4 </since_tizen>
427 /// A trackball style mouse
429 /// <since_tizen> 4 </since_tizen>
432 /// A remote controller
434 /// <since_tizen> 4 </since_tizen>
437 /// A virtual keyboard
439 /// <since_tizen> 4 </since_tizen>
444 /// This specifies all the property types.<br />
445 /// Enumeration for the property types supported.
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
469 /// A vector array of size=2 with float precision.
473 /// A vector array of size=3 with float precision.
477 /// A vector array of size=4 with float precision.
489 /// An integer array of size=4.
493 /// Either a quaternion or an axis angle rotation.
501 /// An array of PropertyValue.
505 /// A string key to PropertyValue mapping.
511 /// <since_tizen> 4 </since_tizen>
516 /// This specifies the property access mode types.<br />
517 /// Enumeration for the access mode for custom properties.
519 /// <since_tizen> 3 </since_tizen>
520 public enum PropertyAccessMode
523 /// If the property is read-only.
527 /// If the property is read or writeable.
531 /// If the property can be animated or constrained.
535 /// The number of access modes.
541 /// Types of style change. Enumeration for the StyleChange type.
543 /// <since_tizen> 3 </since_tizen>
544 [Obsolete("Deprecated in API9, Will be removed in API11.")]
545 public enum StyleChangeType
548 /// Denotes that the default font has changed.
550 [Obsolete("Deprecated in API9, Will be removed in API11.")]
553 /// Denotes that the default font size has changed.
555 [Obsolete("Deprecated in API9, Will be removed in API11.")]
556 DefaultFontSizeChange,
558 /// Denotes that the theme has changed.
560 [Obsolete("Deprecated in API9, Will be removed in API11.")]
565 /// Enumeration for horizontal alignment types.
567 /// <since_tizen> 3 </since_tizen>
568 public enum HorizontalAlignmentType
571 /// Align horizontally left.
573 [Description("left")]
576 /// Align horizontally center.
578 [Description("center")]
581 /// Align horizontally right.
583 [Description("right")]
588 /// Enumeration for vertical alignment types.
590 /// <since_tizen> 3 </since_tizen>
591 public enum VerticalAlignmentType
594 /// Align vertically top.
599 /// Align vertically center.
601 [Description("center")]
604 /// Align vertically bottom.
606 [Description("bottom")]
611 /// Enumeration for point state type.
613 /// <since_tizen> 3 </since_tizen>
614 public enum PointStateType
617 /// Touch or hover started.
621 /// Touch or hover finished.
633 /// Finger dragged or hovered.
637 /// Leave the boundary of an actor.
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.
646 /// A system event has occurred which has interrupted the touch or hover event sequence.
652 /// The type for HiddenInput mode.
654 /// <since_tizen> 3 </since_tizen>
655 public enum HiddenInputModeType
662 /// Hide all the input text.
666 /// Hide n characters from start.
670 /// Show n characters from start.
674 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
680 /// Auto scrolling stop behavior.
682 /// <since_tizen> 3 </since_tizen>
683 public enum AutoScrollStopMode
686 /// Stop animation after current loop finished.
688 [Description("FINISH_LOOP")]
691 /// Stop animation immediately and reset position.
693 [Description("IMMEDIATE")]
698 /// An enum of screen mode.
700 /// <since_tizen> 4 </since_tizen>
701 public enum ScreenOffMode
704 /// The mode which turns the screen off after a timeout.
708 /// The mode which keeps the screen turned on.
714 /// An enum of notification window's priority level.
716 /// <since_tizen> 3 </since_tizen>
717 public enum NotificationLevel
720 /// No notification level.<br />
721 /// Default level.<br />
722 /// This value makes the notification window place in the layer of the normal window.
726 /// The base notification level.
730 /// The medium notification level than base.
734 /// The higher notification level than medium.
738 /// The highest notification level.
744 /// An enum of window types.
746 /// <since_tizen> 3 </since_tizen>
747 public enum WindowType
750 /// A default window type.<br />
751 /// Indicates a normal or top-level window.
752 /// Almost every window will be created with this type.
756 /// A notification window, like a warning about battery life or a new email received.
760 /// A persistent utility window, like a toolbox or a palette.
764 /// Used for simple dialog windows.
768 /// Used for IME window that is used for keyboard window.
769 /// It should be set in Application's New input param when application is created.
770 /// In addition, it is only for internal keyboard application.
771 /// This should be hidden.
773 [EditorBrowsable(EditorBrowsableState.Never)]
777 /// <since_tizen> 3 </since_tizen>
778 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
779 public enum DisposeTypes
784 /// <since_tizen> 3 </since_tizen>
787 /// Called by DisposeQueue
789 /// <since_tizen> 3 </since_tizen>
794 /// An enum of the scroll state of the text editor.
796 /// <since_tizen> 3 </since_tizen>
797 public enum ScrollState
800 /// Scrolling is started.
805 /// Scrolling is finished.
811 /// An enum of the line wrap mode of text controls.
813 /// <since_tizen> 4 </since_tizen>
814 public enum LineWrapMode
817 /// The word mode will move a word to the next line.
819 /// <since_tizen> 4 </since_tizen>
823 /// character will move character by character to the next line.
825 /// <since_tizen> 4 </since_tizen>
829 /// Hyphenation mode will move part of the word (at possible hyphen locations)
830 /// to the next line and draw a hyphen at the end of the line.
832 [EditorBrowsable(EditorBrowsableState.Never)]
836 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
838 [EditorBrowsable(EditorBrowsableState.Never)]
843 /// An enum of text directions.
845 /// <since_tizen> 5 </since_tizen>
846 public enum TextDirection
849 /// Text direction is from left to right.
851 /// <since_tizen> 5 </since_tizen>
855 /// Text direction is from right to left.
857 /// <since_tizen> 5 </since_tizen>
862 /// An enum of vertical line alignments.
864 /// <since_tizen> 5 </since_tizen>
865 public enum VerticalLineAlignment
868 /// vertical line alignment is from top.
870 /// <since_tizen> 5 </since_tizen>
874 /// vertical line alignment is from center.
876 /// <since_tizen> 5 </since_tizen>
880 /// vertical line alignment is from bottom.
882 /// <since_tizen> 5 </since_tizen>
887 /// Enumeration type for the font's slant.
889 /// <since_tizen> 5 </since_tizen>
890 public enum FontSlantType
895 /// <since_tizen> 5 </since_tizen>
900 /// <since_tizen> 5 </since_tizen>
905 /// <since_tizen> 5 </since_tizen>
910 /// <since_tizen> 5 </since_tizen>
915 /// <since_tizen> 5 </since_tizen>
920 /// Enumeration type for the font's weight.
922 /// <since_tizen> 5 </since_tizen>
923 public enum FontWeightType
928 /// <since_tizen> 5 </since_tizen>
933 /// <since_tizen> 5 </since_tizen>
938 /// <since_tizen> 5 </since_tizen>
943 /// <since_tizen> 5 </since_tizen>
944 ExtraLight = UltraLight,
948 /// <since_tizen> 5 </since_tizen>
953 /// <since_tizen> 5 </since_tizen>
958 /// <since_tizen> 5 </since_tizen>
959 SemiLight = DemiLight,
963 /// <since_tizen> 5 </since_tizen>
968 /// <since_tizen> 5 </since_tizen>
973 /// <since_tizen> 5 </since_tizen>
978 /// <since_tizen> 5 </since_tizen>
983 /// <since_tizen> 5 </since_tizen>
988 /// <since_tizen> 5 </since_tizen>
993 /// <since_tizen> 5 </since_tizen>
998 /// <since_tizen> 5 </since_tizen>
1003 /// <since_tizen> 5 </since_tizen>
1004 ExtraBold = UltraBold,
1008 /// <since_tizen> 5 </since_tizen>
1013 /// <since_tizen> 5 </since_tizen>
1018 /// <since_tizen> 5 </since_tizen>
1023 /// Enumeration type for the font's width.
1025 /// <since_tizen> 5 </since_tizen>
1026 public enum FontWidthType
1031 /// <since_tizen> 5 </since_tizen>
1036 /// <since_tizen> 5 </since_tizen>
1041 /// <since_tizen> 5 </since_tizen>
1046 /// <since_tizen> 5 </since_tizen>
1051 /// <since_tizen> 5 </since_tizen>
1056 /// <since_tizen> 5 </since_tizen>
1061 /// <since_tizen> 5 </since_tizen>
1066 /// <since_tizen> 5 </since_tizen>
1071 /// <since_tizen> 5 </since_tizen>
1076 /// <since_tizen> 5 </since_tizen>
1081 /// Enumeration type for the glyph type.
1083 /// <since_tizen> 5 </since_tizen>
1084 public enum GlyphType
1087 /// Glyph stored as pixels.
1089 /// <since_tizen> 5 </since_tizen>
1092 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1094 /// <since_tizen> 5 </since_tizen>
1099 /// Enumeration for Setting the rendering behavior of a Window.
1101 /// <since_tizen> 5 </since_tizen>
1102 public enum RenderingBehaviorType
1105 /// Default. Only renders if required.
1109 /// Renders continuously.
1115 /// The HiddenInput property.
1117 /// <since_tizen> 3 </since_tizen>
1118 public struct HiddenInputProperty
1121 /// The mode for input text display.
1123 /// <since_tizen> 3 </since_tizen>
1124 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1126 /// All input characters are substituted by this character.
1128 /// <since_tizen> 3 </since_tizen>
1129 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1131 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1133 /// <since_tizen> 3 </since_tizen>
1134 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1136 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1138 /// <since_tizen> 4 </since_tizen>
1139 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1143 /// ParentOrigin constants.
1145 /// <since_tizen> 3 </since_tizen>
1146 public struct ParentOrigin
1151 /// <since_tizen> 3 </since_tizen>
1152 public static float Top
1156 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1157 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1165 /// <since_tizen> 3 </since_tizen>
1166 public static float Bottom
1170 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1171 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1179 /// <since_tizen> 3 </since_tizen>
1180 public static float Left
1184 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1185 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1193 /// <since_tizen> 3 </since_tizen>
1194 public static float Right
1198 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1199 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1207 /// <since_tizen> 3 </since_tizen>
1208 public static float Middle
1212 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1213 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1221 /// <since_tizen> 3 </since_tizen>
1222 public static Position TopLeft
1226 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1227 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1228 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1236 /// <since_tizen> 3 </since_tizen>
1237 public static Position TopCenter
1241 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1242 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1243 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1251 /// <since_tizen> 3 </since_tizen>
1252 public static Position TopRight
1256 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1257 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1258 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1266 /// <since_tizen> 3 </since_tizen>
1267 public static Position CenterLeft
1271 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1272 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1273 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1281 /// <since_tizen> 3 </since_tizen>
1282 public static Position Center
1286 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1287 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1288 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1296 /// <since_tizen> 3 </since_tizen>
1297 public static Position CenterRight
1301 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1302 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1303 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1311 /// <since_tizen> 3 </since_tizen>
1312 public static Position BottomLeft
1316 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1317 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1318 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1326 /// <since_tizen> 3 </since_tizen>
1327 public static Position BottomCenter
1331 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1332 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1341 /// <since_tizen> 3 </since_tizen>
1342 public static Position BottomRight
1346 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1347 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1348 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1355 /// PivotPoint constants.
1357 /// <since_tizen> 3 </since_tizen>
1358 public struct PivotPoint
1363 /// <since_tizen> 3 </since_tizen>
1364 public static float Top
1368 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1369 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1376 /// <since_tizen> 3 </since_tizen>
1377 public static float Bottom
1381 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1382 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1389 /// <since_tizen> 3 </since_tizen>
1390 public static float Left
1394 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1402 /// <since_tizen> 3 </since_tizen>
1403 public static float Right
1407 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1408 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1415 /// <since_tizen> 3 </since_tizen>
1416 public static float Middle
1420 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1421 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1428 /// <since_tizen> 3 </since_tizen>
1429 public static Position TopLeft
1433 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1434 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1435 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1442 /// <since_tizen> 3 </since_tizen>
1443 public static Position TopCenter
1447 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1448 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1449 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1456 /// <since_tizen> 3 </since_tizen>
1457 public static Position TopRight
1461 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1462 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1463 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1470 /// <since_tizen> 3 </since_tizen>
1471 public static Position CenterLeft
1475 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1476 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1477 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1484 /// <since_tizen> 3 </since_tizen>
1485 public static Position Center
1489 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1490 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1491 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1498 /// <since_tizen> 3 </since_tizen>
1499 public static Position CenterRight
1503 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1504 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1505 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1512 /// <since_tizen> 3 </since_tizen>
1513 public static Position BottomLeft
1517 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1518 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1519 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1526 /// <since_tizen> 3 </since_tizen>
1527 public static Position BottomCenter
1531 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1532 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1533 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1540 /// <since_tizen> 3 </since_tizen>
1541 public static Position BottomRight
1545 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1546 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1547 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1553 /// PositionAxis constants.
1555 /// <since_tizen> 3 </since_tizen>
1556 public struct PositionAxis
1561 /// <since_tizen> 3 </since_tizen>
1562 public static Position X
1566 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1567 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1568 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1575 /// <since_tizen> 3 </since_tizen>
1576 public static Position Y
1580 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1581 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1582 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1589 /// <since_tizen> 3 </since_tizen>
1590 public static Position Z
1594 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1595 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1596 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1601 /// The Negative X axis
1603 /// <since_tizen> 3 </since_tizen>
1604 public static Position NegativeX
1608 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1609 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1610 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1615 /// The Negative Y axis
1617 /// <since_tizen> 3 </since_tizen>
1618 public static Position NegativeY
1622 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1623 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1624 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1629 /// The Negative Z axis
1631 /// <since_tizen> 3 </since_tizen>
1632 public static Position NegativeZ
1636 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1637 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1638 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1645 /// [Obsolete("Please do not use! this will be deprecated")]
1647 /// <since_tizen> 3 </since_tizen>
1648 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1649 [EditorBrowsable(EditorBrowsableState.Never)]
1650 public struct AnchorPoint
1655 /// <since_tizen> 3 </since_tizen>
1656 public static float Top
1660 return PivotPoint.Top;
1666 /// <since_tizen> 3 </since_tizen>
1667 public static float Bottom
1671 return PivotPoint.Bottom;
1677 /// <since_tizen> 3 </since_tizen>
1678 public static float Left
1682 return PivotPoint.Left;
1688 /// <since_tizen> 3 </since_tizen>
1689 public static float Right
1693 return PivotPoint.Right;
1699 /// <since_tizen> 3 </since_tizen>
1700 public static float Middle
1704 return PivotPoint.Middle;
1710 /// <since_tizen> 3 </since_tizen>
1711 public static Position TopLeft
1715 return PivotPoint.TopLeft;
1721 /// <since_tizen> 3 </since_tizen>
1722 public static Position TopCenter
1726 return PivotPoint.TopCenter;
1732 /// <since_tizen> 3 </since_tizen>
1733 public static Position TopRight
1737 return PivotPoint.TopRight;
1743 /// <since_tizen> 3 </since_tizen>
1744 public static Position CenterLeft
1748 return PivotPoint.CenterLeft;
1754 /// <since_tizen> 3 </since_tizen>
1755 public static Position Center
1759 return PivotPoint.Center;
1765 /// <since_tizen> 3 </since_tizen>
1766 public static Position CenterRight
1770 return PivotPoint.CenterRight;
1776 /// <since_tizen> 3 </since_tizen>
1777 public static Position BottomLeft
1781 return PivotPoint.BottomLeft;
1787 /// <since_tizen> 3 </since_tizen>
1788 public static Position BottomCenter
1792 return PivotPoint.BottomCenter;
1798 /// <since_tizen> 3 </since_tizen>
1799 public static Position BottomRight
1803 return PivotPoint.BottomRight;
1809 /// Enumeration for setting cache model of a WebView.
1811 [EditorBrowsable(EditorBrowsableState.Never)]
1812 public enum CacheModel
1815 /// Use the smallest cache capacity.
1819 /// Use the bigger cache capacity than DocumentBrowser.
1823 /// Use the biggest cache capacity.
1829 /// Enumeration for setting cache model of a WebView.
1831 [EditorBrowsable(EditorBrowsableState.Never)]
1832 public enum CookieAcceptPolicy
1835 /// Accepts every cookie sent from any page.
1839 /// Rejects all the cookies.
1843 /// Accepts only cookies set by the main document that is loaded.
1849 /// FontSizeScale constant.
1851 /// <since_tizen> 9 </since_tizen>
1852 public struct FontSizeScale
1855 /// UseSystemSetting
1857 /// <since_tizen> 9 </since_tizen>
1858 public const float UseSystemSetting = -1.0f;
1862 /// Offset has left, right, bottom, top value.
1864 [EditorBrowsable(EditorBrowsableState.Never)]
1865 public struct Offset
1870 /// <param name="left">left offset</param>
1871 /// <param name="right">right offset</param>
1872 /// <param name="bottom">bottom offset</param>
1873 /// <param name="top">top offset</param>
1874 [EditorBrowsable(EditorBrowsableState.Never)]
1875 public Offset(int left, int right, int bottom, int top)
1886 [EditorBrowsable(EditorBrowsableState.Never)]
1887 public int Left {get; set;}
1892 [EditorBrowsable(EditorBrowsableState.Never)]
1893 public int Right {get; set;}
1898 [EditorBrowsable(EditorBrowsableState.Never)]
1899 public int Bottom {get; set;}
1904 [EditorBrowsable(EditorBrowsableState.Never)]
1905 public int Top {get; set;}
1910 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1911 /// Internal use only. Do not open this API.
1913 internal struct FrameworkInformation
1915 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1919 /// This Enumeration is used the GLES version for EGL configuration.<br />
1920 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1921 /// It is for GLWindow and GLView.<br />
1923 [EditorBrowsable(EditorBrowsableState.Never)]
1924 public enum GLESVersion
1927 /// GLES version 2.0
1929 [EditorBrowsable(EditorBrowsableState.Never)]
1933 /// GLES version 3.0
1935 [EditorBrowsable(EditorBrowsableState.Never)]
1940 /// Enumeration for rendering mode
1941 /// This Enumeration is used to choose the rendering mode.
1942 /// It has two options.
1943 /// One of them is continuous mode. It is rendered continuously.
1944 /// The other is on demand mode. It is rendered by application.
1945 /// It is for GLWindow and GLView.
1947 [EditorBrowsable(EditorBrowsableState.Never)]
1948 public enum GLRenderingMode
1953 [EditorBrowsable(EditorBrowsableState.Never)]
1957 /// on demand by application
1959 [EditorBrowsable(EditorBrowsableState.Never)]