1 // Copyright (c) 2019 Samsung Electronics Co., Ltd.
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
16 using System.ComponentModel;
17 using System.Diagnostics.CodeAnalysis;
22 /// This specifies all the scroll mode type.
24 /// <since_tizen> 3 </since_tizen>
25 public enum ScrollModeType
28 /// Whether the content can be scrolled along the X axis or not.
30 /// <since_tizen> 3 </since_tizen>
33 /// When set, causes scroll view to snap to multiples of the
34 /// value of the interval while flicking along the X axis.
36 /// <since_tizen> 3 </since_tizen>
39 /// When set, the scroll view is unable to scroll beyond the
40 /// value of the boundary along the X axis.
42 /// <since_tizen> 3 </since_tizen>
45 /// Whether the content can be scrolled along the Y axis or not.
47 /// <since_tizen> 3 </since_tizen>
50 /// When set, causes scroll view to snap to multiples of the
51 /// value of the interval while flicking along the Y axis.
53 /// <since_tizen> 3 </since_tizen>
56 /// When set, the scroll view is unable to scroll beyond the
57 /// value of the boundary along the Y axis.
59 /// <since_tizen> 3 </since_tizen>
64 /// This specifies whether the actor uses its own color or inherits.
66 /// <since_tizen> 3 </since_tizen>
70 /// Actor will use its own color.
74 /// Actor will use its parent color.
78 /// Actor will blend its color with its parents color.
80 UseOwnMultiplyParentColor,
82 /// Actor will blend its alpha with its parents alpha. This means when the parent fades in or out, the child does as well. This is the default.
84 UseOwnMultiplyParentAlpha
88 /// This specifies the dimension of the width or the height for size negotiation.
90 /// <since_tizen> 3 </since_tizen>
91 public enum DimensionType
102 /// Mask to cover all flags.
108 /// Enumeration for the instance of how the actor and it's children will be drawn.
110 /// <since_tizen> 3 </since_tizen>
111 public enum DrawModeType
114 /// The default draw-mode.
116 [Description("NORMAL")]
119 /// Draw the actor and its children as an overlay.
121 [Description("OVERLAY_2D")]
125 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
128 /// Deprecated.(API Level 6) Not used.
130 [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")]
131 [Description("STENCIL")]
136 /// Enumeration for size negotiation resize policies.
138 /// <since_tizen> 3 </since_tizen>
139 public enum ResizePolicyType
142 /// Size is fixed as set by SetSize.
144 [Description("FIXED")]
147 /// Size is to use the actor's natural size.
149 /// <see cref="ViewImpl.GetNaturalSize"/>
150 [Description("USE_NATURAL_SIZE")]
153 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
155 [Description("FILL_TO_PARENT")]
158 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
160 [Description("SIZE_RELATIVE_TO_PARENT")]
161 SizeRelativeToParent,
163 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
165 [Description("SIZE_FIXED_OFFSET_FROM_PARENT")]
166 SizeFixedOffsetFromParent,
168 /// The size will adjust to wrap around all children.
170 [Description("FIT_TO_CHILDREN")]
173 /// One dimension is dependent on the other.
175 [Description("DIMENSION_DEPENDENCY")]
178 /// The size will be assigned to the actor.
180 [Description("USE_ASSIGNED_SIZE")]
184 /// The size always equal with parent even parent has size animation.
185 /// Note : This Property only working without layout. If layout is setup, Undefined Behavior
187 /// <remarks>Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.</remarks>
188 [EditorBrowsable(EditorBrowsableState.Never)]
189 KeepSizeFollowingParent
193 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
195 /// <since_tizen> 3 </since_tizen>
196 public enum SizeScalePolicyType
199 /// Use the size that was set.
201 [Description("USE_SIZE_SET")]
204 /// Fit within the size set maintaining natural size aspect ratio.
206 [Description("FIT_WITH_ASPECT_RATIO")]
209 /// Fit within the size set maintaining natural size aspect ratio.
211 [Description("FILL_WITH_ASPECT_RATIO")]
216 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
218 /// <since_tizen> 3 </since_tizen>
219 public enum ClippingModeType
222 /// This actor will not clip its children.
226 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
230 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
232 /// <since_tizen> 4 </since_tizen>
237 /// Enumeration for type determination of how the camera operates.
239 /// <since_tizen> 3 </since_tizen>
240 public enum CameraType
243 /// Camera orientation is taken from the CameraActor.
247 /// Camera is oriented to always look at a target.
253 /// Enumeration for the projection modes.
255 /// <since_tizen> 3 </since_tizen>
256 public enum ProjectionMode
259 /// Distance causes foreshortening; objects further from the camera appear smaller.
261 PerspectiveProjection,
263 /// Relative distance from the camera does not affect the size of objects.
265 OrthographicProjection
269 /// This specifies customView behavior types.
271 /// <since_tizen> 3 </since_tizen>
272 public enum CustomViewBehaviour
275 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
277 ViewBehaviourDefault = 0,
279 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
281 DisableSizeNegotiation = 1 << 0,
283 /// True if OnTouch() callback is required.
285 /// <since_tizen> 6 </since_tizen>
286 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
287 [EditorBrowsable(EditorBrowsableState.Never)]
288 RequiresTouchEventsSupport = 1 << 1,
290 /// True if OnHover() callback is required.
292 /// <since_tizen> 6 </since_tizen>
293 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
294 [EditorBrowsable(EditorBrowsableState.Never)]
295 RequiresHoverEventsSupport = 1 << 2,
297 /// True if OnWheel() callback is required.
299 /// <since_tizen> 6 </since_tizen>
300 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
301 [EditorBrowsable(EditorBrowsableState.Never)]
302 RequiresWheelEventsSupport = 1 << 3,
304 /// Use to provide key navigation support.
306 RequiresKeyboardNavigationSupport = 1 << 5,
308 /// Use to make style change event disabled.
310 DisableStyleChangeSignals = 1 << 6,
312 /// Please do not use! This will be deprecated!
314 /// <since_tizen> 3 </since_tizen>
315 [Obsolete("Please do not use! This will be deprecated!")]
316 [EditorBrowsable(EditorBrowsableState.Never)]
317 LastViewBehaviourFlag
321 /// An enum of Device Class types.
323 /// <since_tizen> 3 </since_tizen>
324 /// Can't fix because it's already used by other GBM.
325 [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
326 public enum DeviceClassType
331 /// <since_tizen> 3 </since_tizen>
334 /// The user/seat (the user themselves).
336 /// <since_tizen> 3 </since_tizen>
339 /// A regular keyboard, numberpad or attached buttons.
341 /// <since_tizen> 3 </since_tizen>
344 /// A mouse, trackball or touchpad relative motion device.
346 /// <since_tizen> 3 </since_tizen>
349 /// A touchscreen with fingers or stylus.
351 /// <since_tizen> 3 </since_tizen>
354 /// A special pen device.
356 /// <since_tizen> 3 </since_tizen>
359 /// A pointing device based on laser, infrared or similar technology.
361 /// <since_tizen> 3 </since_tizen>
364 /// A gamepad controller or joystick.
366 /// <since_tizen> 3 </since_tizen>
371 /// An enum of Device Subclass types.
373 /// <since_tizen> 4 </since_tizen>
374 public enum DeviceSubClassType
379 /// <since_tizen> 4 </since_tizen>
382 /// The normal flat of your finger
384 /// <since_tizen> 4 </since_tizen>
389 /// <since_tizen> 4 </since_tizen>
394 /// <since_tizen> 4 </since_tizen>
397 /// The palm of a users hand
399 /// <since_tizen> 4 </since_tizen>
402 /// The side of your hand
404 /// <since_tizen> 4 </since_tizen>
407 /// The flat of your hand
409 /// <since_tizen> 4 </since_tizen>
414 /// <since_tizen> 4 </since_tizen>
417 /// A trackpad style mouse
419 /// <since_tizen> 4 </since_tizen>
422 /// A trackpoint style mouse
424 /// <since_tizen> 4 </since_tizen>
427 /// A trackball style mouse
429 /// <since_tizen> 4 </since_tizen>
432 /// A remote controller
434 /// <since_tizen> 4 </since_tizen>
437 /// A virtual keyboard
439 /// <since_tizen> 4 </since_tizen>
444 /// This specifies all the property types.<br />
445 /// Enumeration for the property types supported.
447 /// <since_tizen> 3 </since_tizen>
448 /// Can't fix because it's already used by other GBM.
449 [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
450 public enum PropertyType
469 /// A vector array of size=2 with float precision.
473 /// A vector array of size=3 with float precision.
477 /// A vector array of size=4 with float precision.
489 /// An integer array of size=4.
493 /// Either a quaternion or an axis angle rotation.
501 /// An array of PropertyValue.
505 /// A string key to PropertyValue mapping.
511 /// <since_tizen> 4 </since_tizen>
516 /// This specifies the property access mode types.<br />
517 /// Enumeration for the access mode for custom properties.
519 /// <since_tizen> 3 </since_tizen>
520 public enum PropertyAccessMode
523 /// If the property is read-only.
527 /// If the property is read or writeable.
531 /// If the property can be animated or constrained.
535 /// The number of access modes.
541 /// Types of style change. Enumeration for the StyleChange type.
543 /// <since_tizen> 3 </since_tizen>
544 [Obsolete("Deprecated in API9, Will be removed in API11.")]
545 public enum StyleChangeType
548 /// Denotes that the default font has changed.
550 [Obsolete("Deprecated in API9, Will be removed in API11.")]
553 /// Denotes that the default font size has changed.
555 [Obsolete("Deprecated in API9, Will be removed in API11.")]
556 DefaultFontSizeChange,
558 /// Denotes that the theme has changed.
560 [Obsolete("Deprecated in API9, Will be removed in API11.")]
565 /// Enumeration for horizontal alignment types.
567 /// <since_tizen> 3 </since_tizen>
568 public enum HorizontalAlignmentType
571 /// Align horizontally left.
573 [Description("left")]
576 /// Align horizontally center.
578 [Description("center")]
581 /// Align horizontally right.
583 [Description("right")]
588 /// Enumeration for vertical alignment types.
590 /// <since_tizen> 3 </since_tizen>
591 public enum VerticalAlignmentType
594 /// Align vertically top.
599 /// Align vertically center.
601 [Description("center")]
604 /// Align vertically bottom.
606 [Description("bottom")]
611 /// Enumeration for point state type.
613 /// <since_tizen> 3 </since_tizen>
614 public enum PointStateType
617 /// Touch or hover started.
621 /// Touch or hover finished.
633 /// Finger dragged or hovered.
637 /// Leave the boundary of an actor.
641 /// No change from last event. <br />
642 /// Useful when a multi-point event occurs where all points are sent, but indicates that this particular point has not changed since the last time.
646 /// A system event has occurred which has interrupted the touch or hover event sequence.
652 /// The type for HiddenInput mode.
654 /// <since_tizen> 3 </since_tizen>
655 public enum HiddenInputModeType
662 /// Hide all the input text.
666 /// Hide n characters from start.
670 /// Show n characters from start.
674 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
680 /// Auto scrolling stop behavior.
682 /// <since_tizen> 3 </since_tizen>
683 public enum AutoScrollStopMode
686 /// Stop animation after current loop finished.
688 [Description("FINISH_LOOP")]
691 /// Stop animation immediately and reset position.
693 [Description("IMMEDIATE")]
698 /// An enum of screen mode.
700 /// <since_tizen> 4 </since_tizen>
701 public enum ScreenOffMode
704 /// The mode which turns the screen off after a timeout.
708 /// The mode which keeps the screen turned on.
714 /// An enum of notification window's priority level.
716 /// <since_tizen> 3 </since_tizen>
717 public enum NotificationLevel
720 /// No notification level.<br />
721 /// Default level.<br />
722 /// This value makes the notification window place in the layer of the normal window.
726 /// The base notification level.
730 /// The medium notification level than base.
734 /// The higher notification level than medium.
738 /// The highest notification level.
744 /// An enum of window types.
747 /// Most of window type can be set, except for IME type.<br />
748 /// IME type can only be used in one of NUIApplication's constrcutors.<br />
750 /// <since_tizen> 3 </since_tizen>
751 public enum WindowType
754 /// A default window type.<br />
755 /// Indicates a normal or top-level window.
756 /// Almost every window will be created with this type.
760 /// A notification window, like a warning about battery life or a new email received.
764 /// A persistent utility window, like a toolbox or a palette.
768 /// Used for simple dialog windows.
772 /// Used for IME window that is used for keyboard window.
773 /// It should be set in NUIApplication constructor.
774 /// It does not work with Window.Type, because IME window type can not change in runtime.
777 /// See <see cref="NUIApplication" /> for this type. <br />
782 /// <since_tizen> 3 </since_tizen>
783 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
784 public enum DisposeTypes
789 /// <since_tizen> 3 </since_tizen>
792 /// Called by DisposeQueue
794 /// <since_tizen> 3 </since_tizen>
799 /// An enum of the scroll state of the text editor.
801 /// <since_tizen> 3 </since_tizen>
802 public enum ScrollState
805 /// Scrolling is started.
810 /// Scrolling is finished.
816 /// An enum of the line wrap mode of text controls.
818 /// <since_tizen> 4 </since_tizen>
819 public enum LineWrapMode
822 /// The word mode will move a word to the next line.
824 /// <since_tizen> 4 </since_tizen>
828 /// character will move character by character to the next line.
830 /// <since_tizen> 4 </since_tizen>
834 /// Hyphenation mode will move part of the word (at possible hyphen locations)
835 /// to the next line and draw a hyphen at the end of the line.
837 /// <since_tizen> 9 </since_tizen>
841 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
843 /// <since_tizen> 9 </since_tizen>
848 /// An enum of text directions.
850 /// <since_tizen> 5 </since_tizen>
851 public enum TextDirection
854 /// Text direction is from left to right.
856 /// <since_tizen> 5 </since_tizen>
860 /// Text direction is from right to left.
862 /// <since_tizen> 5 </since_tizen>
867 /// An enum of vertical line alignments.
869 /// <since_tizen> 5 </since_tizen>
870 public enum VerticalLineAlignment
873 /// vertical line alignment is from top.
875 /// <since_tizen> 5 </since_tizen>
879 /// vertical line alignment is from center.
881 /// <since_tizen> 5 </since_tizen>
885 /// vertical line alignment is from bottom.
887 /// <since_tizen> 5 </since_tizen>
892 /// An enum of ellipsis position.
894 /// <since_tizen> 9 </since_tizen>
895 public enum EllipsisPosition
898 /// ellipsis position at end.
900 /// <since_tizen> 9 </since_tizen>
904 /// ellipsis position at start.
906 /// <since_tizen> 9 </since_tizen>
910 /// ellipsis position in the middle.
912 /// <since_tizen> 9 </since_tizen>
917 /// Enumeration type for the font's slant.
919 /// <since_tizen> 5 </since_tizen>
920 public enum FontSlantType
925 /// <since_tizen> 5 </since_tizen>
930 /// <since_tizen> 5 </since_tizen>
935 /// <since_tizen> 5 </since_tizen>
940 /// <since_tizen> 5 </since_tizen>
945 /// <since_tizen> 5 </since_tizen>
950 /// Enumeration type for the font's weight.
952 /// <since_tizen> 5 </since_tizen>
953 public enum FontWeightType
958 /// <since_tizen> 5 </since_tizen>
963 /// <since_tizen> 5 </since_tizen>
968 /// <since_tizen> 5 </since_tizen>
973 /// <since_tizen> 5 </since_tizen>
974 ExtraLight = UltraLight,
978 /// <since_tizen> 5 </since_tizen>
983 /// <since_tizen> 5 </since_tizen>
988 /// <since_tizen> 5 </since_tizen>
989 SemiLight = DemiLight,
993 /// <since_tizen> 5 </since_tizen>
998 /// <since_tizen> 5 </since_tizen>
1003 /// <since_tizen> 5 </since_tizen>
1008 /// <since_tizen> 5 </since_tizen>
1013 /// <since_tizen> 5 </since_tizen>
1018 /// <since_tizen> 5 </since_tizen>
1019 SemiBold = DemiBold,
1023 /// <since_tizen> 5 </since_tizen>
1028 /// <since_tizen> 5 </since_tizen>
1033 /// <since_tizen> 5 </since_tizen>
1034 ExtraBold = UltraBold,
1038 /// <since_tizen> 5 </since_tizen>
1043 /// <since_tizen> 5 </since_tizen>
1048 /// <since_tizen> 5 </since_tizen>
1053 /// Enumeration type for the font's width.
1055 /// <since_tizen> 5 </since_tizen>
1056 public enum FontWidthType
1061 /// <since_tizen> 5 </since_tizen>
1066 /// <since_tizen> 5 </since_tizen>
1071 /// <since_tizen> 5 </since_tizen>
1076 /// <since_tizen> 5 </since_tizen>
1081 /// <since_tizen> 5 </since_tizen>
1086 /// <since_tizen> 5 </since_tizen>
1091 /// <since_tizen> 5 </since_tizen>
1096 /// <since_tizen> 5 </since_tizen>
1101 /// <since_tizen> 5 </since_tizen>
1106 /// <since_tizen> 5 </since_tizen>
1111 /// Enumeration type for the glyph type.
1113 /// <since_tizen> 5 </since_tizen>
1114 public enum GlyphType
1117 /// Glyph stored as pixels.
1119 /// <since_tizen> 5 </since_tizen>
1122 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1124 /// <since_tizen> 5 </since_tizen>
1129 /// Enumeration for Setting the rendering behavior of a Window.
1131 /// <since_tizen> 5 </since_tizen>
1132 public enum RenderingBehaviorType
1135 /// Default. Only renders if required.
1139 /// Renders continuously.
1145 /// The HiddenInput property.
1147 /// <since_tizen> 3 </since_tizen>
1148 public struct HiddenInputProperty
1151 /// The mode for input text display.
1153 /// <since_tizen> 3 </since_tizen>
1154 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1156 /// All input characters are substituted by this character.
1158 /// <since_tizen> 3 </since_tizen>
1159 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1161 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1163 /// <since_tizen> 3 </since_tizen>
1164 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1166 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1168 /// <since_tizen> 4 </since_tizen>
1169 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1173 /// ParentOrigin constants.
1175 /// <since_tizen> 3 </since_tizen>
1176 public struct ParentOrigin
1181 /// <since_tizen> 3 </since_tizen>
1182 public static float Top
1186 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1187 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1195 /// <since_tizen> 3 </since_tizen>
1196 public static float Bottom
1200 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1201 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1209 /// <since_tizen> 3 </since_tizen>
1210 public static float Left
1214 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1215 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1223 /// <since_tizen> 3 </since_tizen>
1224 public static float Right
1228 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1229 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1237 /// <since_tizen> 3 </since_tizen>
1238 public static float Middle
1242 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1243 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1251 /// <since_tizen> 3 </since_tizen>
1252 public static Position TopLeft
1256 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1257 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1258 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1266 /// <since_tizen> 3 </since_tizen>
1267 public static Position TopCenter
1271 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1272 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1273 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1281 /// <since_tizen> 3 </since_tizen>
1282 public static Position TopRight
1286 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1287 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1288 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1296 /// <since_tizen> 3 </since_tizen>
1297 public static Position CenterLeft
1301 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1302 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1303 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1311 /// <since_tizen> 3 </since_tizen>
1312 public static Position Center
1316 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1317 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1318 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1326 /// <since_tizen> 3 </since_tizen>
1327 public static Position CenterRight
1331 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1332 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1333 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1341 /// <since_tizen> 3 </since_tizen>
1342 public static Position BottomLeft
1346 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1347 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1348 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1356 /// <since_tizen> 3 </since_tizen>
1357 public static Position BottomCenter
1361 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1362 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1363 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1371 /// <since_tizen> 3 </since_tizen>
1372 public static Position BottomRight
1376 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1377 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1378 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1385 /// PivotPoint constants.
1387 /// <since_tizen> 3 </since_tizen>
1388 public struct PivotPoint
1393 /// <since_tizen> 3 </since_tizen>
1394 public static float Top
1398 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1399 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1406 /// <since_tizen> 3 </since_tizen>
1407 public static float Bottom
1411 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1412 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1419 /// <since_tizen> 3 </since_tizen>
1420 public static float Left
1424 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1432 /// <since_tizen> 3 </since_tizen>
1433 public static float Right
1437 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1438 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1445 /// <since_tizen> 3 </since_tizen>
1446 public static float Middle
1450 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1451 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1458 /// <since_tizen> 3 </since_tizen>
1459 public static Position TopLeft
1463 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1464 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1465 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1472 /// <since_tizen> 3 </since_tizen>
1473 public static Position TopCenter
1477 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1478 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1479 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1486 /// <since_tizen> 3 </since_tizen>
1487 public static Position TopRight
1491 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1492 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1493 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1500 /// <since_tizen> 3 </since_tizen>
1501 public static Position CenterLeft
1505 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1506 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1507 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1514 /// <since_tizen> 3 </since_tizen>
1515 public static Position Center
1519 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1520 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1521 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1528 /// <since_tizen> 3 </since_tizen>
1529 public static Position CenterRight
1533 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1534 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1542 /// <since_tizen> 3 </since_tizen>
1543 public static Position BottomLeft
1547 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1548 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1549 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1556 /// <since_tizen> 3 </since_tizen>
1557 public static Position BottomCenter
1561 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1562 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1563 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1570 /// <since_tizen> 3 </since_tizen>
1571 public static Position BottomRight
1575 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1576 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1577 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1583 /// PositionAxis constants.
1585 /// <since_tizen> 3 </since_tizen>
1586 public struct PositionAxis
1591 /// <since_tizen> 3 </since_tizen>
1592 public static Position X
1596 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1597 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1598 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1605 /// <since_tizen> 3 </since_tizen>
1606 public static Position Y
1610 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1611 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1619 /// <since_tizen> 3 </since_tizen>
1620 public static Position Z
1624 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1625 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1626 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1631 /// The Negative X axis
1633 /// <since_tizen> 3 </since_tizen>
1634 public static Position NegativeX
1638 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1639 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1640 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1645 /// The Negative Y axis
1647 /// <since_tizen> 3 </since_tizen>
1648 public static Position NegativeY
1652 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1653 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1654 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1659 /// The Negative Z axis
1661 /// <since_tizen> 3 </since_tizen>
1662 public static Position NegativeZ
1666 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1667 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1668 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1675 /// [Obsolete("Please do not use! this will be deprecated")]
1677 /// <since_tizen> 3 </since_tizen>
1678 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1679 [EditorBrowsable(EditorBrowsableState.Never)]
1680 public struct AnchorPoint
1685 /// <since_tizen> 3 </since_tizen>
1686 public static float Top
1690 return PivotPoint.Top;
1696 /// <since_tizen> 3 </since_tizen>
1697 public static float Bottom
1701 return PivotPoint.Bottom;
1707 /// <since_tizen> 3 </since_tizen>
1708 public static float Left
1712 return PivotPoint.Left;
1718 /// <since_tizen> 3 </since_tizen>
1719 public static float Right
1723 return PivotPoint.Right;
1729 /// <since_tizen> 3 </since_tizen>
1730 public static float Middle
1734 return PivotPoint.Middle;
1740 /// <since_tizen> 3 </since_tizen>
1741 public static Position TopLeft
1745 return PivotPoint.TopLeft;
1751 /// <since_tizen> 3 </since_tizen>
1752 public static Position TopCenter
1756 return PivotPoint.TopCenter;
1762 /// <since_tizen> 3 </since_tizen>
1763 public static Position TopRight
1767 return PivotPoint.TopRight;
1773 /// <since_tizen> 3 </since_tizen>
1774 public static Position CenterLeft
1778 return PivotPoint.CenterLeft;
1784 /// <since_tizen> 3 </since_tizen>
1785 public static Position Center
1789 return PivotPoint.Center;
1795 /// <since_tizen> 3 </since_tizen>
1796 public static Position CenterRight
1800 return PivotPoint.CenterRight;
1806 /// <since_tizen> 3 </since_tizen>
1807 public static Position BottomLeft
1811 return PivotPoint.BottomLeft;
1817 /// <since_tizen> 3 </since_tizen>
1818 public static Position BottomCenter
1822 return PivotPoint.BottomCenter;
1828 /// <since_tizen> 3 </since_tizen>
1829 public static Position BottomRight
1833 return PivotPoint.BottomRight;
1839 /// Enumeration for setting cache model of a WebView.
1841 [EditorBrowsable(EditorBrowsableState.Never)]
1842 public enum CacheModel
1845 /// Use the smallest cache capacity.
1849 /// Use the bigger cache capacity than DocumentBrowser.
1853 /// Use the biggest cache capacity.
1859 /// Enumeration for setting cache model of a WebView.
1861 [EditorBrowsable(EditorBrowsableState.Never)]
1862 public enum CookieAcceptPolicy
1865 /// Accepts every cookie sent from any page.
1869 /// Rejects all the cookies.
1873 /// Accepts only cookies set by the main document that is loaded.
1879 /// FontSizeScale constant.
1881 /// <since_tizen> 9 </since_tizen>
1882 public struct FontSizeScale
1885 /// UseSystemSetting
1887 /// <since_tizen> 9 </since_tizen>
1888 public const float UseSystemSetting = -1.0f;
1892 /// Offset has left, right, bottom, top value.
1894 [EditorBrowsable(EditorBrowsableState.Never)]
1895 public struct Offset
1900 /// <param name="left">left offset</param>
1901 /// <param name="right">right offset</param>
1902 /// <param name="bottom">bottom offset</param>
1903 /// <param name="top">top offset</param>
1904 [EditorBrowsable(EditorBrowsableState.Never)]
1905 public Offset(int left, int right, int bottom, int top)
1916 [EditorBrowsable(EditorBrowsableState.Never)]
1917 public int Left {get; set;}
1922 [EditorBrowsable(EditorBrowsableState.Never)]
1923 public int Right {get; set;}
1928 [EditorBrowsable(EditorBrowsableState.Never)]
1929 public int Bottom {get; set;}
1934 [EditorBrowsable(EditorBrowsableState.Never)]
1935 public int Top {get; set;}
1940 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1941 /// Internal use only. Do not open this API.
1943 internal struct FrameworkInformation
1945 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1949 /// This Enumeration is used the GLES version for EGL configuration.<br />
1950 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1951 /// It is for GLWindow and GLView.<br />
1953 /// <since_tizen> 9 </since_tizen>
1954 [EditorBrowsable(EditorBrowsableState.Never)]
1955 public enum GLESVersion
1958 /// GLES version 2.0
1963 /// GLES version 3.0
1969 /// Enumeration for rendering mode
1970 /// This Enumeration is used to choose the rendering mode.
1971 /// It is for GLWindow and GLView.
1973 /// <since_tizen> 9 </since_tizen>
1974 [EditorBrowsable(EditorBrowsableState.Never)]
1975 public enum GLRenderingMode
1978 /// The render frame delegate is invoked continuously.
1983 /// The render frame delegate is invoked by user.
1989 /// Enumeration for the type of InputFilter. <br />
1992 /// The type of InputFilter that is stored in the <see cref="Tizen.NUI.BaseComponents.InputFilteredEventArgs"/> when the input is filtered. <br />
1994 [EditorBrowsable(EditorBrowsableState.Never)]
1995 public enum InputFilterType
1998 /// The type of InputFilter is Accept.
2000 [EditorBrowsable(EditorBrowsableState.Never)]
2004 /// The type of InputFilter is Reject.
2006 [EditorBrowsable(EditorBrowsableState.Never)]
2011 /// Enumeration for the size type of font. <br />
2014 /// The size type of font used as a property of <see cref="Tizen.NUI.Text.TextFit"/>. <br />
2016 [EditorBrowsable(EditorBrowsableState.Never)]
2017 public enum FontSizeType
2022 [EditorBrowsable(EditorBrowsableState.Never)]
2028 [EditorBrowsable(EditorBrowsableState.Never)]
2035 /// A struct to pass data of InputFilter PropertyMap. <br />
2038 /// InputFilter filters input based on regular expressions. <br />
2039 /// Users can set the Accepted or Rejected regular expression set, or both. <br />
2040 /// If both are used, Rejected has higher priority. <br />
2041 /// The character set must follow the regular expression rules. <br />
2042 /// Behaviour can not be guaranteed for incorrect grammars. <br />
2043 /// Refer the link below for detailed rules. <br />
2044 /// The functions in std::regex library use the ECMAScript grammar: <br />
2045 /// http://cplusplus.com/reference/regex/ECMAScript/ <br />
2046 /// The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods. <br />
2047 /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetInputFilter"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetInputFilter"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetInputFilter"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetInputFilter"/>. <br />
2049 [EditorBrowsable(EditorBrowsableState.Never)]
2050 public struct InputFilter
2053 /// A regular expression in the set of characters to be accepted by the inputFilter.
2055 [EditorBrowsable(EditorBrowsableState.Never)]
2056 public string Accepted { get; set; }
2059 /// A regular expression in the set of characters to be rejected by the inputFilter.
2061 [EditorBrowsable(EditorBrowsableState.Never)]
2062 public string Rejected { get; set; }
2066 /// A struct to pass data of FontStyle PropertyMap. <br />
2069 /// The FontStyle struct is used as an argument to SetFontStyle and GetFontStyle methods. <br />
2070 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetFontStyle"/>, <see cref="Tizen.NUI.BaseComponents.TextLabel.GetFontStyle"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetFontStyle"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetFontStyle"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetFontStyle"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetFontStyle"/>. <br />
2072 [EditorBrowsable(EditorBrowsableState.Never)]
2073 public struct FontStyle
2076 /// The Width defines occupied by each glyph.
2078 [EditorBrowsable(EditorBrowsableState.Never)]
2079 public FontWidthType Width { get; set; }
2082 /// The Weight defines the thickness or darkness of the glyphs.
2084 [EditorBrowsable(EditorBrowsableState.Never)]
2085 public FontWeightType Weight { get; set; }
2088 /// The Slant defines whether to use italics.
2090 [EditorBrowsable(EditorBrowsableState.Never)]
2091 public FontSlantType Slant { get; set; }
2095 /// A struct to pass data of Underline PropertyMap. <br />
2098 /// The Underline struct is used as an argument to SetUnderline and GetUnderline methods. <br />
2099 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetUnderline"/>, <see cref="Tizen.NUI.BaseComponents.TextLabel.GetUnderline"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetUnderline"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetUnderline"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetUnderline"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetUnderline"/>. <br />
2101 [EditorBrowsable(EditorBrowsableState.Never)]
2102 public struct Underline
2105 /// Whether the underline is enabled (the default value is false).
2107 [EditorBrowsable(EditorBrowsableState.Never)]
2108 public bool Enable { get; set; }
2111 /// The color of the underline (if not provided then the color of the text is used).
2113 [EditorBrowsable(EditorBrowsableState.Never)]
2114 public Color Color { get; set; }
2117 /// The height in pixels of the underline (if null, the default value is 1.0f).
2119 [EditorBrowsable(EditorBrowsableState.Never)]
2120 public float? Height { get; set; }
2124 /// A struct to pass data of Shadow PropertyMap. <br />
2127 /// The Shadow struct is used as an argument to SetShadow and GetShadow methods. <br />
2128 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetShadow"/>, <see cref="Tizen.NUI.BaseComponents.TextLabel.GetShadow"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetShadow"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetShadow"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetShadow"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetShadow"/>. <br />
2130 [EditorBrowsable(EditorBrowsableState.Never)]
2131 public struct Shadow
2134 /// The color of the shadow (the default color is Color.Black).
2136 [EditorBrowsable(EditorBrowsableState.Never)]
2137 public Color Color { get; set; }
2140 /// The offset in pixels of the shadow (if null, the default value is 0, 0). <br />
2141 /// If not provided then the shadow is not enabled. <br />
2144 [EditorBrowsable(EditorBrowsableState.Never)]
2145 public Vector2 Offset { get; set; }
2148 /// The radius of the Gaussian blur for the soft shadow (if null, the default value is 0.0f). <br />
2149 /// If not provided then the soft shadow is not enabled. <br />
2151 [EditorBrowsable(EditorBrowsableState.Never)]
2152 public float? BlurRadius { get; set; }
2156 /// A struct to pass data of Outline PropertyMap. <br />
2159 /// The Outline struct is used as an argument to SetOutline and GetOutline methods. <br />
2160 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextLabel.GetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetOutline"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetOutline"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetOutline"/>. <br />
2162 [EditorBrowsable(EditorBrowsableState.Never)]
2163 public struct Outline
2166 /// The color of the outline (the default color is Color.White).
2168 [EditorBrowsable(EditorBrowsableState.Never)]
2169 public Color Color { get; set; }
2172 /// The width in pixels of the outline (if null, the default value is 0.0f). <br />
2173 /// If not provided then the outline is not enabled. <br />
2175 [EditorBrowsable(EditorBrowsableState.Never)]
2176 public float? Width { get; set; }
2180 /// A struct to pass data of TextFit PropertyMap. <br />
2183 /// The TextFit struct is used as an argument to SetTextFit and GetTextFit methods. <br />
2184 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetTextFit"/> and <see cref="Tizen.NUI.BaseComponents.TextLabel.GetTextFit"/>. <br />
2186 [EditorBrowsable(EditorBrowsableState.Never)]
2187 public struct TextFit
2190 /// True to enable the text fit or false to disable (the default value is false).
2192 [EditorBrowsable(EditorBrowsableState.Never)]
2193 public bool Enable { get; set; }
2196 /// Minimum Size for text fit (if null, the default value is 10.0f).
2198 [EditorBrowsable(EditorBrowsableState.Never)]
2199 public float? MinSize { get; set; }
2202 /// Maximum Size for text fit (if null, the default value is 100.0f).
2204 [EditorBrowsable(EditorBrowsableState.Never)]
2205 public float? MaxSize { get; set; }
2208 /// Step Size for font increase (if null, the default value is 1.0f).
2210 [EditorBrowsable(EditorBrowsableState.Never)]
2211 public float? StepSize { get; set; }
2214 /// The size type of font, PointSize or PixelSize (the default value is PointSize).
2216 [EditorBrowsable(EditorBrowsableState.Never)]
2217 public FontSizeType FontSizeType { get; set; }
2221 /// A struct to pass data of Placeholder PropertyMap. <br />
2224 /// The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods. <br />
2225 /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetPlaceholder"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetPlaceholder"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetPlaceholder"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.SetPlaceholder"/>. <br />
2227 [EditorBrowsable(EditorBrowsableState.Never)]
2228 public struct Placeholder
2231 /// The text to display when the TextField is empty and inactive.
2233 [EditorBrowsable(EditorBrowsableState.Never)]
2234 public string Text { get; set; }
2237 /// The text to display when the placeholder has focus.
2239 [EditorBrowsable(EditorBrowsableState.Never)]
2240 public string TextFocused { get; set; }
2243 /// The color of the placeholder text.
2245 [EditorBrowsable(EditorBrowsableState.Never)]
2246 public Color Color { get; set; }
2249 /// The FontFamily of the placeholder text.
2251 [EditorBrowsable(EditorBrowsableState.Never)]
2252 public string FontFamily { get; set; }
2255 /// The FontStyle of the placeholder text (if null, the text control FontStyle is used).
2257 [EditorBrowsable(EditorBrowsableState.Never)]
2258 public FontStyle? FontStyle { get; set; }
2261 /// The PointSize of the placeholder text. <br />
2262 /// Not required if PixelSize provided. <br />
2263 /// If both provided or neither provided then the text control point size is used. <br />
2265 [EditorBrowsable(EditorBrowsableState.Never)]
2266 public float? PointSize { get; set; }
2269 /// The PiexSize of the placeholder text.
2270 /// Not required if PointSize provided. <br />
2271 /// If both provided or neither provided then the text control point size is used. <br />
2273 [EditorBrowsable(EditorBrowsableState.Never)]
2274 public float? PixelSize { get; set; }
2277 /// The ellipsis of the placeholder text (the default value is false).
2279 [EditorBrowsable(EditorBrowsableState.Never)]
2280 public bool Ellipsis { get; set; }
2284 /// A struct to pass data of HiddenInputSettings PropertyMap. <br />
2287 /// The HiddenInput struct is used as an argument to SetHiddenInput and GetHiddenInput methods. <br />
2288 /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetHiddenInput"/> and <see cref="Tizen.NUI.BaseComponents.TextField.GetHiddenInput"/>. <br />
2290 [EditorBrowsable(EditorBrowsableState.Never)]
2291 public struct HiddenInput
2294 /// The mode for input text display. <br />
2296 [EditorBrowsable(EditorBrowsableState.Never)]
2297 public HiddenInputModeType Mode { get; set; }
2300 /// All input characters are substituted by this character (if null, the default value is '*'). <br />
2302 [EditorBrowsable(EditorBrowsableState.Never)]
2303 public char? SubstituteCharacter { get; set; }
2306 /// Length of text to show or hide, available when HideCount/ShowCount mode is used (if null, the default value is 0). <br />
2308 [EditorBrowsable(EditorBrowsableState.Never)]
2309 public int? SubstituteCount { get; set; }
2312 /// Hide last character after this duration, available when ShowLastCharacter mode (if null, the default value is 1000). <br />
2314 [EditorBrowsable(EditorBrowsableState.Never)]
2315 public int? ShowLastCharacterDuration { get; set; }
2319 /// A struct to pass data of SelectionHandleImageLeft, SelectionHandleImageRight, SelectionHandlePressedImageLeft, SelectionHandlePressedImageRight, SelectionHandleMarkerImageLeft and SelectionHandleMarkerImageRight PropertyMap. <br />
2322 /// The SelectionHandleImage struct is used as an argument to SetSelectionHandleImage, GetSelectionHandleImage methods, SetSelectionHandlePressedImage, GetSelectionHandlePressedImage, SetSelectionHandleMarkerImage and GetSelectionHandleMarkerImage. <br />
2323 /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandleMarkerImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandleMarkerImage"/>, <br />
2324 /// <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandleMarkerImage"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandleMarkerImage"/>. <br />
2326 [EditorBrowsable(EditorBrowsableState.Never)]
2327 public struct SelectionHandleImage
2330 /// The image path to display for the left selection handle. <br />
2331 /// It means the handle in the bottom-left. <br />
2332 /// If the handle needs to be displayed in the top-left, this image will be vertically flipped. <br />
2333 /// If null or empty string, it doesn't change the property. <br />
2335 [EditorBrowsable(EditorBrowsableState.Never)]
2336 public string LeftImageUrl { get; set; }
2339 /// The image path to display for the right selection handle. <br />
2340 /// It means the handle in the bottom-right. <br />
2341 /// If the handle needs to be displayed in the top-right, this image will be vertically flipped. <br />
2342 /// If null or empty string, it doesn't change the property. <br />
2344 [EditorBrowsable(EditorBrowsableState.Never)]
2345 public string RightImageUrl { get; set; }
2351 /// Pre-defined SlideTransition Direction
2353 [EditorBrowsable(EditorBrowsableState.Never)]
2354 public struct SlideTransitionDirection
2359 [EditorBrowsable(EditorBrowsableState.Never)]
2360 public static Vector2 Top
2364 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionTopGet();
2365 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2366 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2373 [EditorBrowsable(EditorBrowsableState.Never)]
2374 public static Vector2 Bottom
2378 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionBottomGet();
2379 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2380 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2388 [EditorBrowsable(EditorBrowsableState.Never)]
2389 public static Vector2 Right
2393 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionRightGet();
2394 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2403 [EditorBrowsable(EditorBrowsableState.Never)]
2404 public static Vector2 Left
2408 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionLeftGet();
2409 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2410 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());