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.
760 /// Used for IME window that is used for keyboard window.
761 /// It should be set in Application's New input param when application is created.
762 /// In addition, it is only for internal keyboard application.
763 /// This should be hidden.
765 [EditorBrowsable(EditorBrowsableState.Never)]
769 /// <since_tizen> 3 </since_tizen>
770 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
771 public enum DisposeTypes
776 /// <since_tizen> 3 </since_tizen>
779 /// Called by DisposeQueue
781 /// <since_tizen> 3 </since_tizen>
786 /// An enum of the scroll state of the text editor.
788 /// <since_tizen> 3 </since_tizen>
789 public enum ScrollState
792 /// Scrolling is started.
797 /// Scrolling is finished.
803 /// An enum of the line wrap mode of text controls.
805 /// <since_tizen> 4 </since_tizen>
806 public enum LineWrapMode
809 /// The word mode will move a word to the next line.
811 /// <since_tizen> 4 </since_tizen>
815 /// character will move character by character to the next line.
817 /// <since_tizen> 4 </since_tizen>
821 /// Hyphenation mode will move part of the word (at possible hyphen locations)
822 /// to the next line and draw a hyphen at the end of the line.
824 [EditorBrowsable(EditorBrowsableState.Never)]
828 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
830 [EditorBrowsable(EditorBrowsableState.Never)]
835 /// An enum of text directions.
837 /// <since_tizen> 5 </since_tizen>
838 public enum TextDirection
841 /// Text direction is from left to right.
843 /// <since_tizen> 5 </since_tizen>
847 /// Text direction is from right to left.
849 /// <since_tizen> 5 </since_tizen>
854 /// An enum of vertical line alignments.
856 /// <since_tizen> 5 </since_tizen>
857 public enum VerticalLineAlignment
860 /// vertical line alignment is from top.
862 /// <since_tizen> 5 </since_tizen>
866 /// vertical line alignment is from center.
868 /// <since_tizen> 5 </since_tizen>
872 /// vertical line alignment is from bottom.
874 /// <since_tizen> 5 </since_tizen>
879 /// Enumeration type for the font's slant.
881 /// <since_tizen> 5 </since_tizen>
882 public enum FontSlantType
887 /// <since_tizen> 5 </since_tizen>
892 /// <since_tizen> 5 </since_tizen>
897 /// <since_tizen> 5 </since_tizen>
902 /// <since_tizen> 5 </since_tizen>
907 /// <since_tizen> 5 </since_tizen>
912 /// Enumeration type for the font's weight.
914 /// <since_tizen> 5 </since_tizen>
915 public enum FontWeightType
920 /// <since_tizen> 5 </since_tizen>
925 /// <since_tizen> 5 </since_tizen>
930 /// <since_tizen> 5 </since_tizen>
935 /// <since_tizen> 5 </since_tizen>
936 ExtraLight = UltraLight,
940 /// <since_tizen> 5 </since_tizen>
945 /// <since_tizen> 5 </since_tizen>
950 /// <since_tizen> 5 </since_tizen>
951 SemiLight = DemiLight,
955 /// <since_tizen> 5 </since_tizen>
960 /// <since_tizen> 5 </since_tizen>
965 /// <since_tizen> 5 </since_tizen>
970 /// <since_tizen> 5 </since_tizen>
975 /// <since_tizen> 5 </since_tizen>
980 /// <since_tizen> 5 </since_tizen>
985 /// <since_tizen> 5 </since_tizen>
990 /// <since_tizen> 5 </since_tizen>
995 /// <since_tizen> 5 </since_tizen>
996 ExtraBold = UltraBold,
1000 /// <since_tizen> 5 </since_tizen>
1005 /// <since_tizen> 5 </since_tizen>
1010 /// <since_tizen> 5 </since_tizen>
1015 /// Enumeration type for the font's width.
1017 /// <since_tizen> 5 </since_tizen>
1018 public enum FontWidthType
1023 /// <since_tizen> 5 </since_tizen>
1028 /// <since_tizen> 5 </since_tizen>
1033 /// <since_tizen> 5 </since_tizen>
1038 /// <since_tizen> 5 </since_tizen>
1043 /// <since_tizen> 5 </since_tizen>
1048 /// <since_tizen> 5 </since_tizen>
1053 /// <since_tizen> 5 </since_tizen>
1058 /// <since_tizen> 5 </since_tizen>
1063 /// <since_tizen> 5 </since_tizen>
1068 /// <since_tizen> 5 </since_tizen>
1073 /// Enumeration type for the glyph type.
1075 /// <since_tizen> 5 </since_tizen>
1076 public enum GlyphType
1079 /// Glyph stored as pixels.
1081 /// <since_tizen> 5 </since_tizen>
1084 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1086 /// <since_tizen> 5 </since_tizen>
1091 /// Enumeration for Setting the rendering behavior of a Window.
1093 /// <since_tizen> 5 </since_tizen>
1094 public enum RenderingBehaviorType
1097 /// Default. Only renders if required.
1101 /// Renders continuously.
1107 /// The HiddenInput property.
1109 /// <since_tizen> 3 </since_tizen>
1110 public struct HiddenInputProperty
1113 /// The mode for input text display.
1115 /// <since_tizen> 3 </since_tizen>
1116 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1118 /// All input characters are substituted by this character.
1120 /// <since_tizen> 3 </since_tizen>
1121 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1123 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1125 /// <since_tizen> 3 </since_tizen>
1126 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1128 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1130 /// <since_tizen> 4 </since_tizen>
1131 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1135 /// ParentOrigin constants.
1137 /// <since_tizen> 3 </since_tizen>
1138 public struct ParentOrigin
1143 /// <since_tizen> 3 </since_tizen>
1144 public static float Top
1148 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1149 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1157 /// <since_tizen> 3 </since_tizen>
1158 public static float Bottom
1162 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1163 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1171 /// <since_tizen> 3 </since_tizen>
1172 public static float Left
1176 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1177 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1185 /// <since_tizen> 3 </since_tizen>
1186 public static float Right
1190 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1191 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1199 /// <since_tizen> 3 </since_tizen>
1200 public static float Middle
1204 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1205 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1213 /// <since_tizen> 3 </since_tizen>
1214 public static Position TopLeft
1218 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1219 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1220 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1228 /// <since_tizen> 3 </since_tizen>
1229 public static Position TopCenter
1233 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1234 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1235 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1243 /// <since_tizen> 3 </since_tizen>
1244 public static Position TopRight
1248 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1249 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1250 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1258 /// <since_tizen> 3 </since_tizen>
1259 public static Position CenterLeft
1263 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1264 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1273 /// <since_tizen> 3 </since_tizen>
1274 public static Position Center
1278 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1279 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1280 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1288 /// <since_tizen> 3 </since_tizen>
1289 public static Position CenterRight
1293 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1294 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1295 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1303 /// <since_tizen> 3 </since_tizen>
1304 public static Position BottomLeft
1308 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1309 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1310 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1318 /// <since_tizen> 3 </since_tizen>
1319 public static Position BottomCenter
1323 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1324 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1325 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1333 /// <since_tizen> 3 </since_tizen>
1334 public static Position BottomRight
1338 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1339 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1340 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1347 /// PivotPoint constants.
1349 /// <since_tizen> 3 </since_tizen>
1350 public struct PivotPoint
1355 /// <since_tizen> 3 </since_tizen>
1356 public static float Top
1360 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1361 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1368 /// <since_tizen> 3 </since_tizen>
1369 public static float Bottom
1373 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1374 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1381 /// <since_tizen> 3 </since_tizen>
1382 public static float Left
1386 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1387 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1394 /// <since_tizen> 3 </since_tizen>
1395 public static float Right
1399 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1400 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1407 /// <since_tizen> 3 </since_tizen>
1408 public static float Middle
1412 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1413 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1420 /// <since_tizen> 3 </since_tizen>
1421 public static Position TopLeft
1425 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1426 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1427 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1434 /// <since_tizen> 3 </since_tizen>
1435 public static Position TopCenter
1439 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1440 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1441 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1448 /// <since_tizen> 3 </since_tizen>
1449 public static Position TopRight
1453 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1454 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1455 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1462 /// <since_tizen> 3 </since_tizen>
1463 public static Position CenterLeft
1467 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1468 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1469 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1476 /// <since_tizen> 3 </since_tizen>
1477 public static Position Center
1481 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1482 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1483 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1490 /// <since_tizen> 3 </since_tizen>
1491 public static Position CenterRight
1495 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1496 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1497 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1504 /// <since_tizen> 3 </since_tizen>
1505 public static Position BottomLeft
1509 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1510 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1511 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1518 /// <since_tizen> 3 </since_tizen>
1519 public static Position BottomCenter
1523 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1524 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1525 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1532 /// <since_tizen> 3 </since_tizen>
1533 public static Position BottomRight
1537 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
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());
1545 /// PositionAxis constants.
1547 /// <since_tizen> 3 </since_tizen>
1548 public struct PositionAxis
1553 /// <since_tizen> 3 </since_tizen>
1554 public static Position X
1558 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1559 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1560 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1567 /// <since_tizen> 3 </since_tizen>
1568 public static Position Y
1572 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1573 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1574 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1581 /// <since_tizen> 3 </since_tizen>
1582 public static Position Z
1586 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1587 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1588 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1593 /// The Negative X axis
1595 /// <since_tizen> 3 </since_tizen>
1596 public static Position NegativeX
1600 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1601 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1602 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1607 /// The Negative Y axis
1609 /// <since_tizen> 3 </since_tizen>
1610 public static Position NegativeY
1614 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1615 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1616 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1621 /// The Negative Z axis
1623 /// <since_tizen> 3 </since_tizen>
1624 public static Position NegativeZ
1628 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1629 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1630 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1637 /// [Obsolete("Please do not use! this will be deprecated")]
1639 /// <since_tizen> 3 </since_tizen>
1640 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1641 [EditorBrowsable(EditorBrowsableState.Never)]
1642 public struct AnchorPoint
1647 /// <since_tizen> 3 </since_tizen>
1648 public static float Top
1652 return PivotPoint.Top;
1658 /// <since_tizen> 3 </since_tizen>
1659 public static float Bottom
1663 return PivotPoint.Bottom;
1669 /// <since_tizen> 3 </since_tizen>
1670 public static float Left
1674 return PivotPoint.Left;
1680 /// <since_tizen> 3 </since_tizen>
1681 public static float Right
1685 return PivotPoint.Right;
1691 /// <since_tizen> 3 </since_tizen>
1692 public static float Middle
1696 return PivotPoint.Middle;
1702 /// <since_tizen> 3 </since_tizen>
1703 public static Position TopLeft
1707 return PivotPoint.TopLeft;
1713 /// <since_tizen> 3 </since_tizen>
1714 public static Position TopCenter
1718 return PivotPoint.TopCenter;
1724 /// <since_tizen> 3 </since_tizen>
1725 public static Position TopRight
1729 return PivotPoint.TopRight;
1735 /// <since_tizen> 3 </since_tizen>
1736 public static Position CenterLeft
1740 return PivotPoint.CenterLeft;
1746 /// <since_tizen> 3 </since_tizen>
1747 public static Position Center
1751 return PivotPoint.Center;
1757 /// <since_tizen> 3 </since_tizen>
1758 public static Position CenterRight
1762 return PivotPoint.CenterRight;
1768 /// <since_tizen> 3 </since_tizen>
1769 public static Position BottomLeft
1773 return PivotPoint.BottomLeft;
1779 /// <since_tizen> 3 </since_tizen>
1780 public static Position BottomCenter
1784 return PivotPoint.BottomCenter;
1790 /// <since_tizen> 3 </since_tizen>
1791 public static Position BottomRight
1795 return PivotPoint.BottomRight;
1801 /// Enumeration for setting cache model of a WebView.
1803 [EditorBrowsable(EditorBrowsableState.Never)]
1804 public enum CacheModel
1807 /// Use the smallest cache capacity.
1811 /// Use the bigger cache capacity than DocumentBrowser.
1815 /// Use the biggest cache capacity.
1821 /// Enumeration for setting cache model of a WebView.
1823 [EditorBrowsable(EditorBrowsableState.Never)]
1824 public enum CookieAcceptPolicy
1827 /// Accepts every cookie sent from any page.
1831 /// Rejects all the cookies.
1835 /// Accepts only cookies set by the main document that is loaded.
1841 /// FontSizeScale constant.
1843 /// <since_tizen> 9 </since_tizen>
1844 public struct FontSizeScale
1847 /// UseSystemSetting
1849 /// <since_tizen> 9 </since_tizen>
1850 public const float UseSystemSetting = -1.0f;
1854 /// Offset has left, right, bottom, top value.
1856 [EditorBrowsable(EditorBrowsableState.Never)]
1857 public struct Offset
1862 /// <param name="left">left offset</param>
1863 /// <param name="right">right offset</param>
1864 /// <param name="bottom">bottom offset</param>
1865 /// <param name="top">top offset</param>
1866 [EditorBrowsable(EditorBrowsableState.Never)]
1867 public Offset(int left, int right, int bottom, int top)
1878 [EditorBrowsable(EditorBrowsableState.Never)]
1879 public int Left {get; set;}
1884 [EditorBrowsable(EditorBrowsableState.Never)]
1885 public int Right {get; set;}
1890 [EditorBrowsable(EditorBrowsableState.Never)]
1891 public int Bottom {get; set;}
1896 [EditorBrowsable(EditorBrowsableState.Never)]
1897 public int Top {get; set;}
1902 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1903 /// Internal use only. Do not open this API.
1905 internal struct FrameworkInformation
1907 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1911 /// This Enumeration is used the GLES version for EGL configuration.<br />
1912 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1913 /// It is for GLWindow and GLView.<br />
1915 [EditorBrowsable(EditorBrowsableState.Never)]
1916 public enum GLESVersion
1919 /// GLES version 2.0
1921 [EditorBrowsable(EditorBrowsableState.Never)]
1925 /// GLES version 3.0
1927 [EditorBrowsable(EditorBrowsableState.Never)]
1932 /// Enumeration for rendering mode
1933 /// This Enumeration is used to choose the rendering mode.
1934 /// It has two options.
1935 /// One of them is continuous mode. It is rendered continuously.
1936 /// The other is on demand mode. It is rendered by application.
1937 /// It is for GLWindow and GLView.
1939 [EditorBrowsable(EditorBrowsableState.Never)]
1940 public enum GLRenderingMode
1945 [EditorBrowsable(EditorBrowsableState.Never)]
1949 /// on demand by application
1951 [EditorBrowsable(EditorBrowsableState.Never)]