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;
21 /// This specifies all the scroll mode type.
23 /// <since_tizen> 3 </since_tizen>
24 public enum ScrollModeType
27 /// Whether the content can be scrolled along the X axis or not.
29 /// <since_tizen> 3 </since_tizen>
32 /// When set, causes scroll view to snap to multiples of the
33 /// value of the interval while flicking along the X axis.
35 /// <since_tizen> 3 </since_tizen>
38 /// When set, the scroll view is unable to scroll beyond the
39 /// value of the boundary along the X axis.
41 /// <since_tizen> 3 </since_tizen>
44 /// Whether the content can be scrolled along the Y axis or not.
46 /// <since_tizen> 3 </since_tizen>
49 /// When set, causes scroll view to snap to multiples of the
50 /// value of the interval while flicking along the Y axis.
52 /// <since_tizen> 3 </since_tizen>
55 /// When set, the scroll view is unable to scroll beyond the
56 /// value of the boundary along the Y axis.
58 /// <since_tizen> 3 </since_tizen>
63 /// This specifies whether the actor uses its own color or inherits.
65 /// <since_tizen> 3 </since_tizen>
69 /// Actor will use its own color.
73 /// Actor will use its parent color.
77 /// Actor will blend its color with its parents color.
79 UseOwnMultiplyParentColor,
81 /// Actor will blend its alpha with its parents alpha. This means when the parent fades in or out, the child does as well. This is the default.
83 UseOwnMultiplyParentAlpha
87 /// This specifies the dimension of the width or the height for size negotiation.
89 /// <since_tizen> 3 </since_tizen>
90 public enum DimensionType
101 /// Mask to cover all flags.
107 /// Enumeration for the instance of how the actor and it's children will be drawn.
109 /// <since_tizen> 3 </since_tizen>
110 public enum DrawModeType
113 /// The default draw-mode.
115 [Description("NORMAL")]
118 /// Draw the actor and its children as an overlay.
120 [Description("OVERLAY_2D")]
124 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
127 /// Deprecated.(API Level 6) Not used.
129 [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")]
130 [Description("STENCIL")]
135 /// Enumeration for size negotiation resize policies.
137 /// <since_tizen> 3 </since_tizen>
138 public enum ResizePolicyType
141 /// Size is fixed as set by SetSize.
143 [Description("FIXED")]
146 /// Size is to use the actor's natural size.
148 /// <see cref="ViewImpl.GetNaturalSize"/>
149 [Description("USE_NATURAL_SIZE")]
152 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
154 [Description("FILL_TO_PARENT")]
157 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
159 [Description("SIZE_RELATIVE_TO_PARENT")]
160 SizeRelativeToParent,
162 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
164 [Description("SIZE_FIXED_OFFSET_FROM_PARENT")]
165 SizeFixedOffsetFromParent,
167 /// The size will adjust to wrap around all children.
169 [Description("FIT_TO_CHILDREN")]
172 /// One dimension is dependent on the other.
174 [Description("DIMENSION_DEPENDENCY")]
177 /// The size will be assigned to the actor.
179 [Description("USE_ASSIGNED_SIZE")]
184 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
186 /// <since_tizen> 3 </since_tizen>
187 public enum SizeScalePolicyType
190 /// Use the size that was set.
192 [Description("USE_SIZE_SET")]
195 /// Fit within the size set maintaining natural size aspect ratio.
197 [Description("FIT_WITH_ASPECT_RATIO")]
200 /// Fit within the size set maintaining natural size aspect ratio.
202 [Description("FILL_WITH_ASPECT_RATIO")]
207 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
209 /// <since_tizen> 3 </since_tizen>
210 public enum ClippingModeType
213 /// This actor will not clip its children.
217 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
221 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
223 /// <since_tizen> 4 </since_tizen>
228 /// Enumeration for type determination of how the camera operates.
230 /// <since_tizen> 3 </since_tizen>
231 public enum CameraType
234 /// Camera orientation is taken from the CameraActor.
238 /// Camera is oriented to always look at a target.
244 /// Enumeration for the projection modes.
246 /// <since_tizen> 3 </since_tizen>
247 public enum ProjectionMode
250 /// Distance causes foreshortening; objects further from the camera appear smaller.
252 PerspectiveProjection,
254 /// Relative distance from the camera does not affect the size of objects.
256 OrthographicProjection
260 /// This specifies customView behavior types.
262 /// <since_tizen> 3 </since_tizen>
263 public enum CustomViewBehaviour
266 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
268 ViewBehaviourDefault = 0,
270 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
272 DisableSizeNegotiation = 1 << 0,
274 /// True if OnTouch() callback is required.
276 /// <since_tizen> 6 </since_tizen>
277 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
278 [EditorBrowsable(EditorBrowsableState.Never)]
279 RequiresTouchEventsSupport = 1 << 1,
281 /// True if OnHover() callback is required.
283 /// <since_tizen> 6 </since_tizen>
284 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
285 [EditorBrowsable(EditorBrowsableState.Never)]
286 RequiresHoverEventsSupport = 1 << 2,
288 /// True if OnWheel() callback is required.
290 /// <since_tizen> 6 </since_tizen>
291 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
292 [EditorBrowsable(EditorBrowsableState.Never)]
293 RequiresWheelEventsSupport = 1 << 3,
295 /// Use to provide key navigation support.
297 RequiresKeyboardNavigationSupport = 1 << 5,
299 /// Use to make style change event disabled.
301 DisableStyleChangeSignals = 1 << 6,
303 /// Please do not use! This will be deprecated!
305 /// <since_tizen> 3 </since_tizen>
306 [Obsolete("Please do not use! This will be deprecated!")]
307 [EditorBrowsable(EditorBrowsableState.Never)]
308 LastViewBehaviourFlag
312 /// An enum of Device Class types.
314 /// <since_tizen> 3 </since_tizen>
315 public enum DeviceClassType
320 /// <since_tizen> 3 </since_tizen>
323 /// The user/seat (the user themselves).
325 /// <since_tizen> 3 </since_tizen>
328 /// A regular keyboard, numberpad or attached buttons.
330 /// <since_tizen> 3 </since_tizen>
333 /// A mouse, trackball or touchpad relative motion device.
335 /// <since_tizen> 3 </since_tizen>
338 /// A touchscreen with fingers or stylus.
340 /// <since_tizen> 3 </since_tizen>
343 /// A special pen device.
345 /// <since_tizen> 3 </since_tizen>
348 /// A pointing device based on laser, infrared or similar technology.
350 /// <since_tizen> 3 </since_tizen>
353 /// A gamepad controller or joystick.
355 /// <since_tizen> 3 </since_tizen>
360 /// An enum of Device Subclass types.
362 /// <since_tizen> 4 </since_tizen>
363 public enum DeviceSubClassType
368 /// <since_tizen> 4 </since_tizen>
371 /// The normal flat of your finger
373 /// <since_tizen> 4 </since_tizen>
378 /// <since_tizen> 4 </since_tizen>
383 /// <since_tizen> 4 </since_tizen>
386 /// The palm of a users hand
388 /// <since_tizen> 4 </since_tizen>
391 /// The side of your hand
393 /// <since_tizen> 4 </since_tizen>
396 /// The flat of your hand
398 /// <since_tizen> 4 </since_tizen>
403 /// <since_tizen> 4 </since_tizen>
406 /// A trackpad style mouse
408 /// <since_tizen> 4 </since_tizen>
411 /// A trackpoint style mouse
413 /// <since_tizen> 4 </since_tizen>
416 /// A trackball style mouse
418 /// <since_tizen> 4 </since_tizen>
421 /// A remote controller
423 /// <since_tizen> 4 </since_tizen>
426 /// A virtual keyboard
428 /// <since_tizen> 4 </since_tizen>
433 /// This specifies all the property types.<br />
434 /// Enumeration for the property types supported.
436 /// <since_tizen> 3 </since_tizen>
437 public enum PropertyType
456 /// A vector array of size=2 with float precision.
460 /// A vector array of size=3 with float precision.
464 /// A vector array of size=4 with float precision.
476 /// An integer array of size=4.
480 /// Either a quaternion or an axis angle rotation.
488 /// An array of PropertyValue.
492 /// A string key to PropertyValue mapping.
498 /// <since_tizen> 4 </since_tizen>
503 /// This specifies the property access mode types.<br />
504 /// Enumeration for the access mode for custom properties.
506 /// <since_tizen> 3 </since_tizen>
507 public enum PropertyAccessMode
510 /// If the property is read-only.
514 /// If the property is read or writeable.
518 /// If the property can be animated or constrained.
522 /// The number of access modes.
528 /// Types of style change. Enumeration for the StyleChange type.
530 /// <since_tizen> 3 </since_tizen>
531 public enum StyleChangeType
534 /// Denotes that the default font has changed.
538 /// Denotes that the default font size has changed.
540 DefaultFontSizeChange,
542 /// Denotes that the theme has changed.
548 /// Enumeration for horizontal alignment types.
550 /// <since_tizen> 3 </since_tizen>
551 public enum HorizontalAlignmentType
554 /// Align horizontally left.
556 [Description("left")]
559 /// Align horizontally center.
561 [Description("center")]
564 /// Align horizontally right.
566 [Description("right")]
571 /// Enumeration for vertical alignment types.
573 /// <since_tizen> 3 </since_tizen>
574 public enum VerticalAlignmentType
577 /// Align vertically top.
582 /// Align vertically center.
584 [Description("center")]
587 /// Align vertically bottom.
589 [Description("bottom")]
594 /// Enumeration for point state type.
596 /// <since_tizen> 3 </since_tizen>
597 public enum PointStateType
600 /// Touch or hover started.
604 /// Touch or hover finished.
616 /// Finger dragged or hovered.
620 /// Leave the boundary of an actor.
624 /// No change from last event. <br />
625 /// 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.
629 /// A system event has occurred which has interrupted the touch or hover event sequence.
635 /// The type for HiddenInput mode.
637 /// <since_tizen> 3 </since_tizen>
638 public enum HiddenInputModeType
645 /// Hide all the input text.
649 /// Hide n characters from start.
653 /// Show n characters from start.
657 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
663 /// Auto scrolling stop behavior.
665 /// <since_tizen> 3 </since_tizen>
666 public enum AutoScrollStopMode
669 /// Stop animation after current loop finished.
671 [Description("FINISH_LOOP")]
674 /// Stop animation immediately and reset position.
676 [Description("IMMEDIATE")]
681 /// An enum of screen mode.
683 /// <since_tizen> 4 </since_tizen>
684 public enum ScreenOffMode
687 /// The mode which turns the screen off after a timeout.
691 /// The mode which keeps the screen turned on.
697 /// An enum of notification window's priority level.
699 /// <since_tizen> 3 </since_tizen>
700 public enum NotificationLevel
703 /// No notification level.<br />
704 /// Default level.<br />
705 /// This value makes the notification window place in the layer of the normal window.
709 /// The base nofitication level.
713 /// The medium notification level than base.
717 /// The higher notification level than medium.
721 /// The highest notification level.
727 /// An enum of window types.
729 /// <since_tizen> 3 </since_tizen>
730 public enum WindowType
733 /// A default window type.<br />
734 /// Indicates a normal or top-level window.
735 /// Almost every window will be created with this type.
739 /// A notification window, like a warning about battery life or a new email received.
743 /// A persistent utility window, like a toolbox or a palette.
747 /// Used for simple dialog windows.
752 /// <since_tizen> 3 </since_tizen>
753 public enum DisposeTypes
758 /// <since_tizen> 3 </since_tizen>
761 /// Called by DisposeQueue
763 /// <since_tizen> 3 </since_tizen>
768 /// An enum of the scroll state of the text eidtor.
770 /// <since_tizen> 3 </since_tizen>
771 public enum ScrollState
774 /// Scrolling is started.
779 /// Scrolling is finished.
785 /// An enum of the line wrap mode of text controls.
787 /// <since_tizen> 4 </since_tizen>
788 public enum LineWrapMode
791 /// The word mode will move a word to the next line.
793 /// <since_tizen> 4 </since_tizen>
797 /// character will move character by character to the next line.
799 /// <since_tizen> 4 </since_tizen>
804 /// An enum of text directions.
806 /// <since_tizen> 5 </since_tizen>
807 public enum TextDirection
810 /// Text direction is from left to right.
812 /// <since_tizen> 5 </since_tizen>
816 /// Text direction is from right to left.
818 /// <since_tizen> 5 </since_tizen>
823 /// An enum of vertical line alignments.
825 /// <since_tizen> 5 </since_tizen>
826 public enum VerticalLineAlignment
829 /// vertical line alignment is from top.
831 /// <since_tizen> 5 </since_tizen>
835 /// vertical line alignment is from center.
837 /// <since_tizen> 5 </since_tizen>
841 /// vertical line alignment is from bottom.
843 /// <since_tizen> 5 </since_tizen>
848 /// Enumeration type for the font's slant.
850 /// <since_tizen> 5 </since_tizen>
851 public enum FontSlantType
856 /// <since_tizen> 5 </since_tizen>
861 /// <since_tizen> 5 </since_tizen>
866 /// <since_tizen> 5 </since_tizen>
871 /// <since_tizen> 5 </since_tizen>
876 /// <since_tizen> 5 </since_tizen>
881 /// Enumeration type for the font's weight.
883 /// <since_tizen> 5 </since_tizen>
884 public enum FontWeightType
889 /// <since_tizen> 5 </since_tizen>
894 /// <since_tizen> 5 </since_tizen>
899 /// <since_tizen> 5 </since_tizen>
904 /// <since_tizen> 5 </since_tizen>
905 ExtraLight = UltraLight,
909 /// <since_tizen> 5 </since_tizen>
914 /// <since_tizen> 5 </since_tizen>
919 /// <since_tizen> 5 </since_tizen>
920 SemiLight = DemiLight,
924 /// <since_tizen> 5 </since_tizen>
929 /// <since_tizen> 5 </since_tizen>
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>
965 ExtraBold = UltraBold,
969 /// <since_tizen> 5 </since_tizen>
974 /// <since_tizen> 5 </since_tizen>
979 /// <since_tizen> 5 </since_tizen>
984 /// Enumeration type for the font's width.
986 /// <since_tizen> 5 </since_tizen>
987 public enum FontWidthType
992 /// <since_tizen> 5 </since_tizen>
997 /// <since_tizen> 5 </since_tizen>
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 /// Enumeration type for the glyph type.
1044 /// <since_tizen> 5 </since_tizen>
1045 public enum GlyphType
1048 /// Glyph stored as pixels.
1050 /// <since_tizen> 5 </since_tizen>
1053 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1055 /// <since_tizen> 5 </since_tizen>
1060 /// Enumeration for Setting the rendering behavior of a Window.
1062 /// <since_tizen> 5 </since_tizen>
1063 public enum RenderingBehaviorType
1066 /// Default. Only renders if required.
1070 /// Renders continuously.
1076 /// The HiddenInput property.
1078 /// <since_tizen> 3 </since_tizen>
1079 public struct HiddenInputProperty
1082 /// The mode for input text display.
1084 /// <since_tizen> 3 </since_tizen>
1085 public static readonly int Mode = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_MODE_get();
1087 /// All input characters are substituted by this character.
1089 /// <since_tizen> 3 </since_tizen>
1090 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get();
1092 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1094 /// <since_tizen> 3 </since_tizen>
1095 public static readonly int SubstituteCount = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get();
1097 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1099 /// <since_tizen> 4 </since_tizen>
1100 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get();
1104 /// ParentOrigin constants.
1106 /// <since_tizen> 3 </since_tizen>
1107 public struct ParentOrigin
1112 /// <since_tizen> 3 </since_tizen>
1113 public static float Top
1117 float ret = Interop.NDalicParentOrigin.ParentOriginTop_get();
1118 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1126 /// <since_tizen> 3 </since_tizen>
1127 public static float Bottom
1131 float ret = Interop.NDalicParentOrigin.ParentOriginBottom_get();
1132 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1140 /// <since_tizen> 3 </since_tizen>
1141 public static float Left
1145 float ret = Interop.NDalicParentOrigin.ParentOriginLeft_get();
1146 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1154 /// <since_tizen> 3 </since_tizen>
1155 public static float Right
1159 float ret = Interop.NDalicParentOrigin.ParentOriginRight_get();
1160 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1168 /// <since_tizen> 3 </since_tizen>
1169 public static float Middle
1173 float ret = Interop.NDalicParentOrigin.ParentOriginMiddle_get();
1174 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1182 /// <since_tizen> 3 </since_tizen>
1183 public static Position TopLeft
1187 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeft_get();
1188 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1189 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1197 /// <since_tizen> 3 </since_tizen>
1198 public static Position TopCenter
1202 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenter_get();
1203 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1204 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1212 /// <since_tizen> 3 </since_tizen>
1213 public static Position TopRight
1217 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRight_get();
1218 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1219 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1227 /// <since_tizen> 3 </since_tizen>
1228 public static Position CenterLeft
1232 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeft_get();
1233 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1234 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1242 /// <since_tizen> 3 </since_tizen>
1243 public static Position Center
1247 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenter_get();
1248 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1249 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1257 /// <since_tizen> 3 </since_tizen>
1258 public static Position CenterRight
1262 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRight_get();
1263 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1264 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1272 /// <since_tizen> 3 </since_tizen>
1273 public static Position BottomLeft
1277 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeft_get();
1278 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1279 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1287 /// <since_tizen> 3 </since_tizen>
1288 public static Position BottomCenter
1292 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenter_get();
1293 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1294 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1302 /// <since_tizen> 3 </since_tizen>
1303 public static Position BottomRight
1307 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRight_get();
1308 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1309 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1316 /// PivotPoint constants.
1318 /// <since_tizen> 3 </since_tizen>
1319 public struct PivotPoint
1324 /// <since_tizen> 3 </since_tizen>
1325 public static float Top
1329 float ret = Interop.NDalicAnchorPoint.AnchorPointTop_get();
1330 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1337 /// <since_tizen> 3 </since_tizen>
1338 public static float Bottom
1342 float ret = Interop.NDalicAnchorPoint.AnchorPointBottom_get();
1343 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1350 /// <since_tizen> 3 </since_tizen>
1351 public static float Left
1355 float ret = Interop.NDalicAnchorPoint.AnchorPointLeft_get();
1356 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1363 /// <since_tizen> 3 </since_tizen>
1364 public static float Right
1368 float ret = Interop.NDalicAnchorPoint.AnchorPointRight_get();
1369 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1376 /// <since_tizen> 3 </since_tizen>
1377 public static float Middle
1381 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddle_get();
1382 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1389 /// <since_tizen> 3 </since_tizen>
1390 public static Position TopLeft
1394 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeft_get();
1395 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1396 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1403 /// <since_tizen> 3 </since_tizen>
1404 public static Position TopCenter
1408 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenter_get();
1409 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1410 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1417 /// <since_tizen> 3 </since_tizen>
1418 public static Position TopRight
1422 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRight_get();
1423 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1424 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1431 /// <since_tizen> 3 </since_tizen>
1432 public static Position CenterLeft
1436 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeft_get();
1437 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1445 /// <since_tizen> 3 </since_tizen>
1446 public static Position Center
1450 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenter_get();
1451 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1452 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1459 /// <since_tizen> 3 </since_tizen>
1460 public static Position CenterRight
1464 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRight_get();
1465 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1466 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1473 /// <since_tizen> 3 </since_tizen>
1474 public static Position BottomLeft
1478 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeft_get();
1479 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1480 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1487 /// <since_tizen> 3 </since_tizen>
1488 public static Position BottomCenter
1492 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenter_get();
1493 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1494 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1501 /// <since_tizen> 3 </since_tizen>
1502 public static Position BottomRight
1506 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRight_get();
1507 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1508 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1514 /// PositionAxis constants.
1516 /// <since_tizen> 3 </since_tizen>
1517 public struct PositionAxis
1522 /// <since_tizen> 3 </since_tizen>
1523 public static Position X
1527 global::System.IntPtr cPtr = Interop.Vector3.Vector3_XAXIS_get();
1528 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1529 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1536 /// <since_tizen> 3 </since_tizen>
1537 public static Position Y
1541 global::System.IntPtr cPtr = Interop.Vector3.Vector3_YAXIS_get();
1542 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1543 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1550 /// <since_tizen> 3 </since_tizen>
1551 public static Position Z
1555 global::System.IntPtr cPtr = Interop.Vector3.Vector3_ZAXIS_get();
1556 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1557 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1562 /// The Negative X axis
1564 /// <since_tizen> 3 </since_tizen>
1565 public static Position NegativeX
1569 global::System.IntPtr cPtr = Interop.Vector3.Vector3_NEGATIVE_XAXIS_get();
1570 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1571 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1576 /// The Negative Y axis
1578 /// <since_tizen> 3 </since_tizen>
1579 public static Position NegativeY
1583 global::System.IntPtr cPtr = Interop.Vector3.Vector3_NEGATIVE_YAXIS_get();
1584 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1585 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1590 /// The Negative Z axis
1592 /// <since_tizen> 3 </since_tizen>
1593 public static Position NegativeZ
1597 global::System.IntPtr cPtr = Interop.Vector3.Vector3_NEGATIVE_ZAXIS_get();
1598 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1599 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
1606 /// [Obsolete("Please do not use! this will be deprecated")]
1608 /// <since_tizen> 3 </since_tizen>
1609 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1610 [EditorBrowsable(EditorBrowsableState.Never)]
1611 public struct AnchorPoint
1616 /// <since_tizen> 3 </since_tizen>
1617 public static float Top
1621 return PivotPoint.Top;
1627 /// <since_tizen> 3 </since_tizen>
1628 public static float Bottom
1632 return PivotPoint.Bottom;
1638 /// <since_tizen> 3 </since_tizen>
1639 public static float Left
1643 return PivotPoint.Left;
1649 /// <since_tizen> 3 </since_tizen>
1650 public static float Right
1654 return PivotPoint.Right;
1660 /// <since_tizen> 3 </since_tizen>
1661 public static float Middle
1665 return PivotPoint.Middle;
1671 /// <since_tizen> 3 </since_tizen>
1672 public static Position TopLeft
1676 return PivotPoint.TopLeft;
1682 /// <since_tizen> 3 </since_tizen>
1683 public static Position TopCenter
1687 return PivotPoint.TopCenter;
1693 /// <since_tizen> 3 </since_tizen>
1694 public static Position TopRight
1698 return PivotPoint.TopRight;
1704 /// <since_tizen> 3 </since_tizen>
1705 public static Position CenterLeft
1709 return PivotPoint.CenterLeft;
1715 /// <since_tizen> 3 </since_tizen>
1716 public static Position Center
1720 return PivotPoint.Center;
1726 /// <since_tizen> 3 </since_tizen>
1727 public static Position CenterRight
1731 return PivotPoint.CenterRight;
1737 /// <since_tizen> 3 </since_tizen>
1738 public static Position BottomLeft
1742 return PivotPoint.BottomLeft;
1748 /// <since_tizen> 3 </since_tizen>
1749 public static Position BottomCenter
1753 return PivotPoint.BottomCenter;
1759 /// <since_tizen> 3 </since_tizen>
1760 public static Position BottomRight
1764 return PivotPoint.BottomRight;
1770 /// Enumeration for setting cache model of a WebView.
1772 [EditorBrowsable(EditorBrowsableState.Never)]
1773 public enum CacheModel
1776 /// Use the smallest cache capacity.
1780 /// Use the bigger cache capacity than DocumentBrowser.
1784 /// Use the biggest cache capacity.
1790 /// Enumeration for setting cache model of a WebView.
1792 [EditorBrowsable(EditorBrowsableState.Never)]
1793 public enum CookieAcceptPolicy
1796 /// Accepts every cookie sent from any page.
1800 /// Rejects all the cookies.
1804 /// Accepts only cookies set by the main document that is loaded.
1810 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1811 /// Internal use only. Do not open this API.
1813 internal struct FrameworkInformation
1815 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";