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>
813 /// Hyphenation mode will move part of the word (at possible hyphen locations)
814 /// to the next line and draw a hyphen at the end of the line.
816 [EditorBrowsable(EditorBrowsableState.Never)]
820 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
822 [EditorBrowsable(EditorBrowsableState.Never)]
827 /// An enum of text directions.
829 /// <since_tizen> 5 </since_tizen>
830 public enum TextDirection
833 /// Text direction is from left to right.
835 /// <since_tizen> 5 </since_tizen>
839 /// Text direction is from right to left.
841 /// <since_tizen> 5 </since_tizen>
846 /// An enum of vertical line alignments.
848 /// <since_tizen> 5 </since_tizen>
849 public enum VerticalLineAlignment
852 /// vertical line alignment is from top.
854 /// <since_tizen> 5 </since_tizen>
858 /// vertical line alignment is from center.
860 /// <since_tizen> 5 </since_tizen>
864 /// vertical line alignment is from bottom.
866 /// <since_tizen> 5 </since_tizen>
871 /// Enumeration type for the font's slant.
873 /// <since_tizen> 5 </since_tizen>
874 public enum FontSlantType
879 /// <since_tizen> 5 </since_tizen>
884 /// <since_tizen> 5 </since_tizen>
889 /// <since_tizen> 5 </since_tizen>
894 /// <since_tizen> 5 </since_tizen>
899 /// <since_tizen> 5 </since_tizen>
904 /// Enumeration type for the font's weight.
906 /// <since_tizen> 5 </since_tizen>
907 public enum FontWeightType
912 /// <since_tizen> 5 </since_tizen>
917 /// <since_tizen> 5 </since_tizen>
922 /// <since_tizen> 5 </since_tizen>
927 /// <since_tizen> 5 </since_tizen>
928 ExtraLight = UltraLight,
932 /// <since_tizen> 5 </since_tizen>
937 /// <since_tizen> 5 </since_tizen>
942 /// <since_tizen> 5 </since_tizen>
943 SemiLight = DemiLight,
947 /// <since_tizen> 5 </since_tizen>
952 /// <since_tizen> 5 </since_tizen>
957 /// <since_tizen> 5 </since_tizen>
962 /// <since_tizen> 5 </since_tizen>
967 /// <since_tizen> 5 </since_tizen>
972 /// <since_tizen> 5 </since_tizen>
977 /// <since_tizen> 5 </since_tizen>
982 /// <since_tizen> 5 </since_tizen>
987 /// <since_tizen> 5 </since_tizen>
988 ExtraBold = UltraBold,
992 /// <since_tizen> 5 </since_tizen>
997 /// <since_tizen> 5 </since_tizen>
1002 /// <since_tizen> 5 </since_tizen>
1007 /// Enumeration type for the font's width.
1009 /// <since_tizen> 5 </since_tizen>
1010 public enum FontWidthType
1015 /// <since_tizen> 5 </since_tizen>
1020 /// <since_tizen> 5 </since_tizen>
1025 /// <since_tizen> 5 </since_tizen>
1030 /// <since_tizen> 5 </since_tizen>
1035 /// <since_tizen> 5 </since_tizen>
1040 /// <since_tizen> 5 </since_tizen>
1045 /// <since_tizen> 5 </since_tizen>
1050 /// <since_tizen> 5 </since_tizen>
1055 /// <since_tizen> 5 </since_tizen>
1060 /// <since_tizen> 5 </since_tizen>
1065 /// Enumeration type for the glyph type.
1067 /// <since_tizen> 5 </since_tizen>
1068 public enum GlyphType
1071 /// Glyph stored as pixels.
1073 /// <since_tizen> 5 </since_tizen>
1076 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1078 /// <since_tizen> 5 </since_tizen>
1083 /// Enumeration for Setting the rendering behavior of a Window.
1085 /// <since_tizen> 5 </since_tizen>
1086 public enum RenderingBehaviorType
1089 /// Default. Only renders if required.
1093 /// Renders continuously.
1099 /// The HiddenInput property.
1101 /// <since_tizen> 3 </since_tizen>
1102 public struct HiddenInputProperty
1105 /// The mode for input text display.
1107 /// <since_tizen> 3 </since_tizen>
1108 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1110 /// All input characters are substituted by this character.
1112 /// <since_tizen> 3 </since_tizen>
1113 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1115 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1117 /// <since_tizen> 3 </since_tizen>
1118 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1120 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1122 /// <since_tizen> 4 </since_tizen>
1123 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1127 /// ParentOrigin constants.
1129 /// <since_tizen> 3 </since_tizen>
1130 public struct ParentOrigin
1135 /// <since_tizen> 3 </since_tizen>
1136 public static float Top
1140 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1141 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1149 /// <since_tizen> 3 </since_tizen>
1150 public static float Bottom
1154 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1155 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1163 /// <since_tizen> 3 </since_tizen>
1164 public static float Left
1168 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1169 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1177 /// <since_tizen> 3 </since_tizen>
1178 public static float Right
1182 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1183 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1191 /// <since_tizen> 3 </since_tizen>
1192 public static float Middle
1196 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1197 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1205 /// <since_tizen> 3 </since_tizen>
1206 public static Position TopLeft
1210 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1211 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1212 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1220 /// <since_tizen> 3 </since_tizen>
1221 public static Position TopCenter
1225 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1226 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1227 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1235 /// <since_tizen> 3 </since_tizen>
1236 public static Position TopRight
1240 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1241 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1242 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1250 /// <since_tizen> 3 </since_tizen>
1251 public static Position CenterLeft
1255 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1256 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1257 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1265 /// <since_tizen> 3 </since_tizen>
1266 public static Position Center
1270 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1271 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1272 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1280 /// <since_tizen> 3 </since_tizen>
1281 public static Position CenterRight
1285 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1286 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1287 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1295 /// <since_tizen> 3 </since_tizen>
1296 public static Position BottomLeft
1300 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1301 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1302 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1310 /// <since_tizen> 3 </since_tizen>
1311 public static Position BottomCenter
1315 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1316 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1317 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1325 /// <since_tizen> 3 </since_tizen>
1326 public static Position BottomRight
1330 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1331 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1332 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1339 /// PivotPoint constants.
1341 /// <since_tizen> 3 </since_tizen>
1342 public struct PivotPoint
1347 /// <since_tizen> 3 </since_tizen>
1348 public static float Top
1352 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1360 /// <since_tizen> 3 </since_tizen>
1361 public static float Bottom
1365 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1366 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1373 /// <since_tizen> 3 </since_tizen>
1374 public static float Left
1378 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1386 /// <since_tizen> 3 </since_tizen>
1387 public static float Right
1391 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1392 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1399 /// <since_tizen> 3 </since_tizen>
1400 public static float Middle
1404 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1405 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1412 /// <since_tizen> 3 </since_tizen>
1413 public static Position TopLeft
1417 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1418 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1419 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1426 /// <since_tizen> 3 </since_tizen>
1427 public static Position TopCenter
1431 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1432 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1440 /// <since_tizen> 3 </since_tizen>
1441 public static Position TopRight
1445 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1446 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1447 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1454 /// <since_tizen> 3 </since_tizen>
1455 public static Position CenterLeft
1459 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1460 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1461 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1468 /// <since_tizen> 3 </since_tizen>
1469 public static Position Center
1473 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1474 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1482 /// <since_tizen> 3 </since_tizen>
1483 public static Position CenterRight
1487 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1488 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1496 /// <since_tizen> 3 </since_tizen>
1497 public static Position BottomLeft
1501 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1502 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1510 /// <since_tizen> 3 </since_tizen>
1511 public static Position BottomCenter
1515 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1516 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1524 /// <since_tizen> 3 </since_tizen>
1525 public static Position BottomRight
1529 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1530 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1531 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1537 /// PositionAxis constants.
1539 /// <since_tizen> 3 </since_tizen>
1540 public struct PositionAxis
1545 /// <since_tizen> 3 </since_tizen>
1546 public static Position X
1550 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1551 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1552 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1559 /// <since_tizen> 3 </since_tizen>
1560 public static Position Y
1564 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1565 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1566 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1573 /// <since_tizen> 3 </since_tizen>
1574 public static Position Z
1578 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1579 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1580 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1585 /// The Negative X axis
1587 /// <since_tizen> 3 </since_tizen>
1588 public static Position NegativeX
1592 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1593 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1594 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1599 /// The Negative Y axis
1601 /// <since_tizen> 3 </since_tizen>
1602 public static Position NegativeY
1606 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1607 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1608 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1613 /// The Negative Z axis
1615 /// <since_tizen> 3 </since_tizen>
1616 public static Position NegativeZ
1620 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1621 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1622 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1629 /// [Obsolete("Please do not use! this will be deprecated")]
1631 /// <since_tizen> 3 </since_tizen>
1632 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1633 [EditorBrowsable(EditorBrowsableState.Never)]
1634 public struct AnchorPoint
1639 /// <since_tizen> 3 </since_tizen>
1640 public static float Top
1644 return PivotPoint.Top;
1650 /// <since_tizen> 3 </since_tizen>
1651 public static float Bottom
1655 return PivotPoint.Bottom;
1661 /// <since_tizen> 3 </since_tizen>
1662 public static float Left
1666 return PivotPoint.Left;
1672 /// <since_tizen> 3 </since_tizen>
1673 public static float Right
1677 return PivotPoint.Right;
1683 /// <since_tizen> 3 </since_tizen>
1684 public static float Middle
1688 return PivotPoint.Middle;
1694 /// <since_tizen> 3 </since_tizen>
1695 public static Position TopLeft
1699 return PivotPoint.TopLeft;
1705 /// <since_tizen> 3 </since_tizen>
1706 public static Position TopCenter
1710 return PivotPoint.TopCenter;
1716 /// <since_tizen> 3 </since_tizen>
1717 public static Position TopRight
1721 return PivotPoint.TopRight;
1727 /// <since_tizen> 3 </since_tizen>
1728 public static Position CenterLeft
1732 return PivotPoint.CenterLeft;
1738 /// <since_tizen> 3 </since_tizen>
1739 public static Position Center
1743 return PivotPoint.Center;
1749 /// <since_tizen> 3 </since_tizen>
1750 public static Position CenterRight
1754 return PivotPoint.CenterRight;
1760 /// <since_tizen> 3 </since_tizen>
1761 public static Position BottomLeft
1765 return PivotPoint.BottomLeft;
1771 /// <since_tizen> 3 </since_tizen>
1772 public static Position BottomCenter
1776 return PivotPoint.BottomCenter;
1782 /// <since_tizen> 3 </since_tizen>
1783 public static Position BottomRight
1787 return PivotPoint.BottomRight;
1793 /// Enumeration for setting cache model of a WebView.
1795 [EditorBrowsable(EditorBrowsableState.Never)]
1796 public enum CacheModel
1799 /// Use the smallest cache capacity.
1803 /// Use the bigger cache capacity than DocumentBrowser.
1807 /// Use the biggest cache capacity.
1813 /// Enumeration for setting cache model of a WebView.
1815 [EditorBrowsable(EditorBrowsableState.Never)]
1816 public enum CookieAcceptPolicy
1819 /// Accepts every cookie sent from any page.
1823 /// Rejects all the cookies.
1827 /// Accepts only cookies set by the main document that is loaded.
1833 /// FontSizeScale constant.
1835 /// <since_tizen> 9 </since_tizen>
1836 public struct FontSizeScale
1839 /// UseSystemSetting
1841 /// <since_tizen> 9 </since_tizen>
1842 public const float UseSystemSetting = -1.0f;
1846 /// Offset has left, right, bottom, top value.
1848 [EditorBrowsable(EditorBrowsableState.Never)]
1849 public struct Offset
1854 /// <param name="left">left offset</param>
1855 /// <param name="right">right offset</param>
1856 /// <param name="bottom">bottom offset</param>
1857 /// <param name="top">top offset</param>
1858 [EditorBrowsable(EditorBrowsableState.Never)]
1859 public Offset(int left, int right, int bottom, int top)
1870 [EditorBrowsable(EditorBrowsableState.Never)]
1871 public int Left {get; set;}
1876 [EditorBrowsable(EditorBrowsableState.Never)]
1877 public int Right {get; set;}
1882 [EditorBrowsable(EditorBrowsableState.Never)]
1883 public int Bottom {get; set;}
1888 [EditorBrowsable(EditorBrowsableState.Never)]
1889 public int Top {get; set;}
1894 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1895 /// Internal use only. Do not open this API.
1897 internal struct FrameworkInformation
1899 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1903 /// This Enumeration is used the GLES version for EGL configuration.<br />
1904 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1905 /// It is for GLWindow and GLView.<br />
1907 [EditorBrowsable(EditorBrowsableState.Never)]
1908 public enum GLESVersion
1911 /// GLES version 2.0
1913 [EditorBrowsable(EditorBrowsableState.Never)]
1917 /// GLES version 3.0
1919 [EditorBrowsable(EditorBrowsableState.Never)]
1924 /// Enumeration for rendering mode
1925 /// This Enumeration is used to choose the rendering mode.
1926 /// It has two options.
1927 /// One of them is continuous mode. It is rendered continuously.
1928 /// The other is on demand mode. It is rendered by application.
1929 /// It is for GLWindow and GLView.
1931 [EditorBrowsable(EditorBrowsableState.Never)]
1932 public enum GLRenderingMode
1937 [EditorBrowsable(EditorBrowsableState.Never)]
1941 /// on demand by application
1943 [EditorBrowsable(EditorBrowsableState.Never)]