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")]
185 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
187 /// <since_tizen> 3 </since_tizen>
188 public enum SizeScalePolicyType
191 /// Use the size that was set.
193 [Description("USE_SIZE_SET")]
196 /// Fit within the size set maintaining natural size aspect ratio.
198 [Description("FIT_WITH_ASPECT_RATIO")]
201 /// Fit within the size set maintaining natural size aspect ratio.
203 [Description("FILL_WITH_ASPECT_RATIO")]
208 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
210 /// <since_tizen> 3 </since_tizen>
211 public enum ClippingModeType
214 /// This actor will not clip its children.
218 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
222 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
224 /// <since_tizen> 4 </since_tizen>
229 /// Enumeration for type determination of how the camera operates.
231 /// <since_tizen> 3 </since_tizen>
232 public enum CameraType
235 /// Camera orientation is taken from the CameraActor.
239 /// Camera is oriented to always look at a target.
245 /// Enumeration for the projection modes.
247 /// <since_tizen> 3 </since_tizen>
248 public enum ProjectionMode
251 /// Distance causes foreshortening; objects further from the camera appear smaller.
253 PerspectiveProjection,
255 /// Relative distance from the camera does not affect the size of objects.
257 OrthographicProjection
261 /// This specifies customView behavior types.
263 /// <since_tizen> 3 </since_tizen>
264 public enum CustomViewBehaviour
267 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
269 ViewBehaviourDefault = 0,
271 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
273 DisableSizeNegotiation = 1 << 0,
275 /// True if OnTouch() callback is required.
277 /// <since_tizen> 6 </since_tizen>
278 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
279 [EditorBrowsable(EditorBrowsableState.Never)]
280 RequiresTouchEventsSupport = 1 << 1,
282 /// True if OnHover() callback is required.
284 /// <since_tizen> 6 </since_tizen>
285 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
286 [EditorBrowsable(EditorBrowsableState.Never)]
287 RequiresHoverEventsSupport = 1 << 2,
289 /// True if OnWheel() callback is required.
291 /// <since_tizen> 6 </since_tizen>
292 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
293 [EditorBrowsable(EditorBrowsableState.Never)]
294 RequiresWheelEventsSupport = 1 << 3,
296 /// Use to provide key navigation support.
298 RequiresKeyboardNavigationSupport = 1 << 5,
300 /// Use to make style change event disabled.
302 DisableStyleChangeSignals = 1 << 6,
304 /// Please do not use! This will be deprecated!
306 /// <since_tizen> 3 </since_tizen>
307 [Obsolete("Please do not use! This will be deprecated!")]
308 [EditorBrowsable(EditorBrowsableState.Never)]
309 LastViewBehaviourFlag
313 /// An enum of Device Class types.
315 /// <since_tizen> 3 </since_tizen>
316 /// Can't fix because it's already used by other GBM.
317 [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
318 public enum DeviceClassType
323 /// <since_tizen> 3 </since_tizen>
326 /// The user/seat (the user themselves).
328 /// <since_tizen> 3 </since_tizen>
331 /// A regular keyboard, numberpad or attached buttons.
333 /// <since_tizen> 3 </since_tizen>
336 /// A mouse, trackball or touchpad relative motion device.
338 /// <since_tizen> 3 </since_tizen>
341 /// A touchscreen with fingers or stylus.
343 /// <since_tizen> 3 </since_tizen>
346 /// A special pen device.
348 /// <since_tizen> 3 </since_tizen>
351 /// A pointing device based on laser, infrared or similar technology.
353 /// <since_tizen> 3 </since_tizen>
356 /// A gamepad controller or joystick.
358 /// <since_tizen> 3 </since_tizen>
363 /// An enum of Device Subclass types.
365 /// <since_tizen> 4 </since_tizen>
366 public enum DeviceSubClassType
371 /// <since_tizen> 4 </since_tizen>
374 /// The normal flat of your finger
376 /// <since_tizen> 4 </since_tizen>
381 /// <since_tizen> 4 </since_tizen>
386 /// <since_tizen> 4 </since_tizen>
389 /// The palm of a users hand
391 /// <since_tizen> 4 </since_tizen>
394 /// The side of your hand
396 /// <since_tizen> 4 </since_tizen>
399 /// The flat of your hand
401 /// <since_tizen> 4 </since_tizen>
406 /// <since_tizen> 4 </since_tizen>
409 /// A trackpad style mouse
411 /// <since_tizen> 4 </since_tizen>
414 /// A trackpoint style mouse
416 /// <since_tizen> 4 </since_tizen>
419 /// A trackball style mouse
421 /// <since_tizen> 4 </since_tizen>
424 /// A remote controller
426 /// <since_tizen> 4 </since_tizen>
429 /// A virtual keyboard
431 /// <since_tizen> 4 </since_tizen>
436 /// This specifies all the property types.<br />
437 /// Enumeration for the property types supported.
439 /// <since_tizen> 3 </since_tizen>
440 /// Can't fix because it's already used by other GBM.
441 [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
442 public enum PropertyType
461 /// A vector array of size=2 with float precision.
465 /// A vector array of size=3 with float precision.
469 /// A vector array of size=4 with float precision.
481 /// An integer array of size=4.
485 /// Either a quaternion or an axis angle rotation.
493 /// An array of PropertyValue.
497 /// A string key to PropertyValue mapping.
503 /// <since_tizen> 4 </since_tizen>
508 /// This specifies the property access mode types.<br />
509 /// Enumeration for the access mode for custom properties.
511 /// <since_tizen> 3 </since_tizen>
512 public enum PropertyAccessMode
515 /// If the property is read-only.
519 /// If the property is read or writeable.
523 /// If the property can be animated or constrained.
527 /// The number of access modes.
533 /// Types of style change. Enumeration for the StyleChange type.
535 /// <since_tizen> 3 </since_tizen>
536 [Obsolete("Deprecated in API9, Will be removed in API11.")]
537 public enum StyleChangeType
540 /// Denotes that the default font has changed.
542 [Obsolete("Deprecated in API9, Will be removed in API11.")]
545 /// Denotes that the default font size has changed.
547 [Obsolete("Deprecated in API9, Will be removed in API11.")]
548 DefaultFontSizeChange,
550 /// Denotes that the theme has changed.
552 [Obsolete("Deprecated in API9, Will be removed in API11.")]
557 /// Enumeration for horizontal alignment types.
559 /// <since_tizen> 3 </since_tizen>
560 public enum HorizontalAlignmentType
563 /// Align horizontally left.
565 [Description("left")]
568 /// Align horizontally center.
570 [Description("center")]
573 /// Align horizontally right.
575 [Description("right")]
580 /// Enumeration for vertical alignment types.
582 /// <since_tizen> 3 </since_tizen>
583 public enum VerticalAlignmentType
586 /// Align vertically top.
591 /// Align vertically center.
593 [Description("center")]
596 /// Align vertically bottom.
598 [Description("bottom")]
603 /// Enumeration for point state type.
605 /// <since_tizen> 3 </since_tizen>
606 public enum PointStateType
609 /// Touch or hover started.
613 /// Touch or hover finished.
625 /// Finger dragged or hovered.
629 /// Leave the boundary of an actor.
633 /// No change from last event. <br />
634 /// 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.
638 /// A system event has occurred which has interrupted the touch or hover event sequence.
644 /// The type for HiddenInput mode.
646 /// <since_tizen> 3 </since_tizen>
647 public enum HiddenInputModeType
654 /// Hide all the input text.
658 /// Hide n characters from start.
662 /// Show n characters from start.
666 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
672 /// Auto scrolling stop behavior.
674 /// <since_tizen> 3 </since_tizen>
675 public enum AutoScrollStopMode
678 /// Stop animation after current loop finished.
680 [Description("FINISH_LOOP")]
683 /// Stop animation immediately and reset position.
685 [Description("IMMEDIATE")]
690 /// An enum of screen mode.
692 /// <since_tizen> 4 </since_tizen>
693 public enum ScreenOffMode
696 /// The mode which turns the screen off after a timeout.
700 /// The mode which keeps the screen turned on.
706 /// An enum of notification window's priority level.
708 /// <since_tizen> 3 </since_tizen>
709 public enum NotificationLevel
712 /// No notification level.<br />
713 /// Default level.<br />
714 /// This value makes the notification window place in the layer of the normal window.
718 /// The base notification level.
722 /// The medium notification level than base.
726 /// The higher notification level than medium.
730 /// The highest notification level.
736 /// An enum of window types.
738 /// <since_tizen> 3 </since_tizen>
739 public enum WindowType
742 /// A default window type.<br />
743 /// Indicates a normal or top-level window.
744 /// Almost every window will be created with this type.
748 /// A notification window, like a warning about battery life or a new email received.
752 /// A persistent utility window, like a toolbox or a palette.
756 /// Used for simple dialog windows.
761 /// <since_tizen> 3 </since_tizen>
762 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
763 public enum DisposeTypes
768 /// <since_tizen> 3 </since_tizen>
771 /// Called by DisposeQueue
773 /// <since_tizen> 3 </since_tizen>
778 /// An enum of the scroll state of the text editor.
780 /// <since_tizen> 3 </since_tizen>
781 public enum ScrollState
784 /// Scrolling is started.
789 /// Scrolling is finished.
795 /// An enum of the line wrap mode of text controls.
797 /// <since_tizen> 4 </since_tizen>
798 public enum LineWrapMode
801 /// The word mode will move a word to the next line.
803 /// <since_tizen> 4 </since_tizen>
807 /// character will move character by character to the next line.
809 /// <since_tizen> 4 </since_tizen>
814 /// An enum of text directions.
816 /// <since_tizen> 5 </since_tizen>
817 public enum TextDirection
820 /// Text direction is from left to right.
822 /// <since_tizen> 5 </since_tizen>
826 /// Text direction is from right to left.
828 /// <since_tizen> 5 </since_tizen>
833 /// An enum of vertical line alignments.
835 /// <since_tizen> 5 </since_tizen>
836 public enum VerticalLineAlignment
839 /// vertical line alignment is from top.
841 /// <since_tizen> 5 </since_tizen>
845 /// vertical line alignment is from center.
847 /// <since_tizen> 5 </since_tizen>
851 /// vertical line alignment is from bottom.
853 /// <since_tizen> 5 </since_tizen>
858 /// Enumeration type for the font's slant.
860 /// <since_tizen> 5 </since_tizen>
861 public enum FontSlantType
866 /// <since_tizen> 5 </since_tizen>
871 /// <since_tizen> 5 </since_tizen>
876 /// <since_tizen> 5 </since_tizen>
881 /// <since_tizen> 5 </since_tizen>
886 /// <since_tizen> 5 </since_tizen>
891 /// Enumeration type for the font's weight.
893 /// <since_tizen> 5 </since_tizen>
894 public enum FontWeightType
899 /// <since_tizen> 5 </since_tizen>
904 /// <since_tizen> 5 </since_tizen>
909 /// <since_tizen> 5 </since_tizen>
914 /// <since_tizen> 5 </since_tizen>
915 ExtraLight = UltraLight,
919 /// <since_tizen> 5 </since_tizen>
924 /// <since_tizen> 5 </since_tizen>
929 /// <since_tizen> 5 </since_tizen>
930 SemiLight = DemiLight,
934 /// <since_tizen> 5 </since_tizen>
939 /// <since_tizen> 5 </since_tizen>
944 /// <since_tizen> 5 </since_tizen>
949 /// <since_tizen> 5 </since_tizen>
954 /// <since_tizen> 5 </since_tizen>
959 /// <since_tizen> 5 </since_tizen>
964 /// <since_tizen> 5 </since_tizen>
969 /// <since_tizen> 5 </since_tizen>
974 /// <since_tizen> 5 </since_tizen>
975 ExtraBold = UltraBold,
979 /// <since_tizen> 5 </since_tizen>
984 /// <since_tizen> 5 </since_tizen>
989 /// <since_tizen> 5 </since_tizen>
994 /// Enumeration type for the font's width.
996 /// <since_tizen> 5 </since_tizen>
997 public enum FontWidthType
1002 /// <since_tizen> 5 </since_tizen>
1007 /// <since_tizen> 5 </since_tizen>
1012 /// <since_tizen> 5 </since_tizen>
1017 /// <since_tizen> 5 </since_tizen>
1022 /// <since_tizen> 5 </since_tizen>
1027 /// <since_tizen> 5 </since_tizen>
1032 /// <since_tizen> 5 </since_tizen>
1037 /// <since_tizen> 5 </since_tizen>
1042 /// <since_tizen> 5 </since_tizen>
1047 /// <since_tizen> 5 </since_tizen>
1052 /// Enumeration type for the glyph type.
1054 /// <since_tizen> 5 </since_tizen>
1055 public enum GlyphType
1058 /// Glyph stored as pixels.
1060 /// <since_tizen> 5 </since_tizen>
1063 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1065 /// <since_tizen> 5 </since_tizen>
1070 /// Enumeration for Setting the rendering behavior of a Window.
1072 /// <since_tizen> 5 </since_tizen>
1073 public enum RenderingBehaviorType
1076 /// Default. Only renders if required.
1080 /// Renders continuously.
1086 /// The HiddenInput property.
1088 /// <since_tizen> 3 </since_tizen>
1089 public struct HiddenInputProperty
1092 /// The mode for input text display.
1094 /// <since_tizen> 3 </since_tizen>
1095 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1097 /// All input characters are substituted by this character.
1099 /// <since_tizen> 3 </since_tizen>
1100 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1102 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1104 /// <since_tizen> 3 </since_tizen>
1105 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1107 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1109 /// <since_tizen> 4 </since_tizen>
1110 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1114 /// ParentOrigin constants.
1116 /// <since_tizen> 3 </since_tizen>
1117 public struct ParentOrigin
1122 /// <since_tizen> 3 </since_tizen>
1123 public static float Top
1127 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1128 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1136 /// <since_tizen> 3 </since_tizen>
1137 public static float Bottom
1141 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1142 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1150 /// <since_tizen> 3 </since_tizen>
1151 public static float Left
1155 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1156 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1164 /// <since_tizen> 3 </since_tizen>
1165 public static float Right
1169 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1170 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1178 /// <since_tizen> 3 </since_tizen>
1179 public static float Middle
1183 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1184 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1192 /// <since_tizen> 3 </since_tizen>
1193 public static Position TopLeft
1197 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1198 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1199 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1207 /// <since_tizen> 3 </since_tizen>
1208 public static Position TopCenter
1212 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1213 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1214 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1222 /// <since_tizen> 3 </since_tizen>
1223 public static Position TopRight
1227 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1228 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1229 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1237 /// <since_tizen> 3 </since_tizen>
1238 public static Position CenterLeft
1242 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1243 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1244 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1252 /// <since_tizen> 3 </since_tizen>
1253 public static Position Center
1257 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1258 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1259 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1267 /// <since_tizen> 3 </since_tizen>
1268 public static Position CenterRight
1272 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1273 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1274 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1282 /// <since_tizen> 3 </since_tizen>
1283 public static Position BottomLeft
1287 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1288 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1289 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1297 /// <since_tizen> 3 </since_tizen>
1298 public static Position BottomCenter
1302 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1303 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1304 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1312 /// <since_tizen> 3 </since_tizen>
1313 public static Position BottomRight
1317 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1318 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1319 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1326 /// PivotPoint constants.
1328 /// <since_tizen> 3 </since_tizen>
1329 public struct PivotPoint
1334 /// <since_tizen> 3 </since_tizen>
1335 public static float Top
1339 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1347 /// <since_tizen> 3 </since_tizen>
1348 public static float Bottom
1352 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1360 /// <since_tizen> 3 </since_tizen>
1361 public static float Left
1365 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1366 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1373 /// <since_tizen> 3 </since_tizen>
1374 public static float Right
1378 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1386 /// <since_tizen> 3 </since_tizen>
1387 public static float Middle
1391 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1399 /// <since_tizen> 3 </since_tizen>
1400 public static Position TopLeft
1404 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1405 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1406 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1413 /// <since_tizen> 3 </since_tizen>
1414 public static Position TopCenter
1418 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1419 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1427 /// <since_tizen> 3 </since_tizen>
1428 public static Position TopRight
1432 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1433 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1434 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1441 /// <since_tizen> 3 </since_tizen>
1442 public static Position CenterLeft
1446 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1447 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1448 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1455 /// <since_tizen> 3 </since_tizen>
1456 public static Position Center
1460 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1461 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1462 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1469 /// <since_tizen> 3 </since_tizen>
1470 public static Position CenterRight
1474 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1475 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1476 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1483 /// <since_tizen> 3 </since_tizen>
1484 public static Position BottomLeft
1488 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1489 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1490 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1497 /// <since_tizen> 3 </since_tizen>
1498 public static Position BottomCenter
1502 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1503 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1504 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1511 /// <since_tizen> 3 </since_tizen>
1512 public static Position BottomRight
1516 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1517 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1518 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1524 /// PositionAxis constants.
1526 /// <since_tizen> 3 </since_tizen>
1527 public struct PositionAxis
1532 /// <since_tizen> 3 </since_tizen>
1533 public static Position X
1537 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1538 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1539 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1546 /// <since_tizen> 3 </since_tizen>
1547 public static Position Y
1551 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1552 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1553 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1560 /// <since_tizen> 3 </since_tizen>
1561 public static Position Z
1565 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1566 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1567 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1572 /// The Negative X axis
1574 /// <since_tizen> 3 </since_tizen>
1575 public static Position NegativeX
1579 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1580 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1581 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1586 /// The Negative Y axis
1588 /// <since_tizen> 3 </since_tizen>
1589 public static Position NegativeY
1593 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1594 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1595 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1600 /// The Negative Z axis
1602 /// <since_tizen> 3 </since_tizen>
1603 public static Position NegativeZ
1607 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1608 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1609 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1616 /// [Obsolete("Please do not use! this will be deprecated")]
1618 /// <since_tizen> 3 </since_tizen>
1619 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1620 [EditorBrowsable(EditorBrowsableState.Never)]
1621 public struct AnchorPoint
1626 /// <since_tizen> 3 </since_tizen>
1627 public static float Top
1631 return PivotPoint.Top;
1637 /// <since_tizen> 3 </since_tizen>
1638 public static float Bottom
1642 return PivotPoint.Bottom;
1648 /// <since_tizen> 3 </since_tizen>
1649 public static float Left
1653 return PivotPoint.Left;
1659 /// <since_tizen> 3 </since_tizen>
1660 public static float Right
1664 return PivotPoint.Right;
1670 /// <since_tizen> 3 </since_tizen>
1671 public static float Middle
1675 return PivotPoint.Middle;
1681 /// <since_tizen> 3 </since_tizen>
1682 public static Position TopLeft
1686 return PivotPoint.TopLeft;
1692 /// <since_tizen> 3 </since_tizen>
1693 public static Position TopCenter
1697 return PivotPoint.TopCenter;
1703 /// <since_tizen> 3 </since_tizen>
1704 public static Position TopRight
1708 return PivotPoint.TopRight;
1714 /// <since_tizen> 3 </since_tizen>
1715 public static Position CenterLeft
1719 return PivotPoint.CenterLeft;
1725 /// <since_tizen> 3 </since_tizen>
1726 public static Position Center
1730 return PivotPoint.Center;
1736 /// <since_tizen> 3 </since_tizen>
1737 public static Position CenterRight
1741 return PivotPoint.CenterRight;
1747 /// <since_tizen> 3 </since_tizen>
1748 public static Position BottomLeft
1752 return PivotPoint.BottomLeft;
1758 /// <since_tizen> 3 </since_tizen>
1759 public static Position BottomCenter
1763 return PivotPoint.BottomCenter;
1769 /// <since_tizen> 3 </since_tizen>
1770 public static Position BottomRight
1774 return PivotPoint.BottomRight;
1780 /// Enumeration for setting cache model of a WebView.
1782 [EditorBrowsable(EditorBrowsableState.Never)]
1783 public enum CacheModel
1786 /// Use the smallest cache capacity.
1790 /// Use the bigger cache capacity than DocumentBrowser.
1794 /// Use the biggest cache capacity.
1800 /// Enumeration for setting cache model of a WebView.
1802 [EditorBrowsable(EditorBrowsableState.Never)]
1803 public enum CookieAcceptPolicy
1806 /// Accepts every cookie sent from any page.
1810 /// Rejects all the cookies.
1814 /// Accepts only cookies set by the main document that is loaded.
1820 /// FontSizeScale constant.
1822 /// <since_tizen> 9 </since_tizen>
1823 public struct FontSizeScale
1826 /// UseSystemSetting
1828 /// <since_tizen> 9 </since_tizen>
1829 public const float UseSystemSetting = -1.0f;
1833 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1834 /// Internal use only. Do not open this API.
1836 internal struct FrameworkInformation
1838 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";