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;
18 using System.Text.RegularExpressions;
23 /// This specifies all the scroll mode type.
25 /// <since_tizen> 3 </since_tizen>
26 public enum ScrollModeType
29 /// Whether the content can be scrolled along the X axis or not.
31 /// <since_tizen> 3 </since_tizen>
34 /// When set, causes scroll view to snap to multiples of the
35 /// value of the interval while flicking along the X axis.
37 /// <since_tizen> 3 </since_tizen>
40 /// When set, the scroll view is unable to scroll beyond the
41 /// value of the boundary along the X axis.
43 /// <since_tizen> 3 </since_tizen>
46 /// Whether the content can be scrolled along the Y axis or not.
48 /// <since_tizen> 3 </since_tizen>
51 /// When set, causes scroll view to snap to multiples of the
52 /// value of the interval while flicking along the Y axis.
54 /// <since_tizen> 3 </since_tizen>
57 /// When set, the scroll view is unable to scroll beyond the
58 /// value of the boundary along the Y axis.
60 /// <since_tizen> 3 </since_tizen>
65 /// This specifies whether the actor uses its own color or inherits.
67 /// <since_tizen> 3 </since_tizen>
71 /// Actor will use its own color.
75 /// Actor will use its parent color.
79 /// Actor will blend its color with its parents color.
81 UseOwnMultiplyParentColor,
83 /// 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.
85 UseOwnMultiplyParentAlpha
89 /// This specifies the dimension of the width or the height for size negotiation.
91 /// <since_tizen> 3 </since_tizen>
92 public enum DimensionType
103 /// Mask to cover all flags.
109 /// Enumeration for the instance of how the actor and it's children will be drawn.
111 /// <since_tizen> 3 </since_tizen>
112 public enum DrawModeType
115 /// The default draw-mode.
117 [Description("NORMAL")]
120 /// Draw the actor and its children as an overlay.
122 [Description("OVERLAY_2D")]
126 /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer.
129 /// Deprecated.(API Level 6) Not used.
131 [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). This is replaced by ClippingModeType")]
132 [Description("STENCIL")]
137 /// Enumeration for size negotiation resize policies.
139 /// <since_tizen> 3 </since_tizen>
140 public enum ResizePolicyType
143 /// Size is fixed as set by SetSize.
145 [Description("FIXED")]
148 /// Size is to use the actor's natural size.
150 /// <see cref="ViewImpl.GetNaturalSize"/>
151 [Description("USE_NATURAL_SIZE")]
154 /// Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained.
156 [Description("FILL_TO_PARENT")]
159 /// The actors size will be ( ParentSize * SizeRelativeToParentFactor ).
161 [Description("SIZE_RELATIVE_TO_PARENT")]
162 SizeRelativeToParent,
164 /// The actors size will be ( ParentSize + SizeRelativeToParentFactor ).
166 [Description("SIZE_FIXED_OFFSET_FROM_PARENT")]
167 SizeFixedOffsetFromParent,
169 /// The size will adjust to wrap around all children.
171 [Description("FIT_TO_CHILDREN")]
174 /// One dimension is dependent on the other.
176 [Description("DIMENSION_DEPENDENCY")]
179 /// The size will be assigned to the actor.
181 [Description("USE_ASSIGNED_SIZE")]
185 /// The size always equal with parent even parent has size animation.
186 /// Note : This Property only working without layout. If layout is setup, Undefined Behavior
188 /// <remarks>Hidden API: Only for inhouse or developing usage. The behavior and interface can be changed anytime.</remarks>
189 [EditorBrowsable(EditorBrowsableState.Never)]
190 KeepSizeFollowingParent
194 /// Enumeration for policies to determine how an actor should resize itself when having its size set in size negotiation.
196 /// <since_tizen> 3 </since_tizen>
197 public enum SizeScalePolicyType
200 /// Use the size that was set.
202 [Description("USE_SIZE_SET")]
205 /// Fit within the size set maintaining natural size aspect ratio.
207 [Description("FIT_WITH_ASPECT_RATIO")]
210 /// Fit within the size set maintaining natural size aspect ratio.
212 [Description("FILL_WITH_ASPECT_RATIO")]
217 /// Enumeration for the ClippingMode describing how this actor's children will be clipped against it.
219 /// <since_tizen> 3 </since_tizen>
220 public enum ClippingModeType
223 /// This actor will not clip its children.
227 /// This actor will clip all children to within its boundaries (the actor will also be visible itself).
231 /// This Actor will clip all children within a screen-aligned rectangle encompassing its boundaries (the actor will also be visible itself).
233 /// <since_tizen> 4 </since_tizen>
238 /// Enumeration for type determination of how the camera operates.
240 /// <since_tizen> 3 </since_tizen>
241 public enum CameraType
244 /// Camera orientation is taken from the CameraActor.
248 /// Camera is oriented to always look at a target.
254 /// Enumeration for the projection modes.
256 /// <since_tizen> 3 </since_tizen>
257 public enum ProjectionMode
260 /// Distance causes foreshortening; objects further from the camera appear smaller.
262 PerspectiveProjection,
264 /// Relative distance from the camera does not affect the size of objects.
266 OrthographicProjection
270 /// This specifies customView behavior types.
272 /// <since_tizen> 3 </since_tizen>
273 public enum CustomViewBehaviour
276 /// Use to provide default behavior (size negotiation is on, event callbacks are not called).
278 ViewBehaviourDefault = 0,
280 /// True if the control does not need size negotiation, i.e., it can be skipped in the algorithm.
282 DisableSizeNegotiation = 1 << 0,
284 /// True if OnTouch() callback is required.
286 /// <since_tizen> 6 </since_tizen>
287 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
288 [EditorBrowsable(EditorBrowsableState.Never)]
289 RequiresTouchEventsSupport = 1 << 1,
291 /// True if OnHover() callback is required.
293 /// <since_tizen> 6 </since_tizen>
294 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
295 [EditorBrowsable(EditorBrowsableState.Never)]
296 RequiresHoverEventsSupport = 1 << 2,
298 /// True if OnWheel() callback is required.
300 /// <since_tizen> 6 </since_tizen>
301 /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
302 [EditorBrowsable(EditorBrowsableState.Never)]
303 RequiresWheelEventsSupport = 1 << 3,
305 /// Use to provide key navigation support.
307 RequiresKeyboardNavigationSupport = 1 << 5,
309 /// Use to make style change event disabled.
311 DisableStyleChangeSignals = 1 << 6,
313 /// Please do not use! This will be deprecated!
315 /// <since_tizen> 3 </since_tizen>
316 [Obsolete("Please do not use! This will be deprecated!")]
317 [EditorBrowsable(EditorBrowsableState.Never)]
318 LastViewBehaviourFlag
322 /// An enum of Device Class types.
324 /// <since_tizen> 3 </since_tizen>
325 /// Can't fix because it's already used by other GBM.
326 [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
327 public enum DeviceClassType
332 /// <since_tizen> 3 </since_tizen>
335 /// The user/seat (the user themselves).
337 /// <since_tizen> 3 </since_tizen>
340 /// A regular keyboard, numberpad or attached buttons.
342 /// <since_tizen> 3 </since_tizen>
345 /// A mouse, trackball or touchpad relative motion device.
347 /// <since_tizen> 3 </since_tizen>
350 /// A touchscreen with fingers or stylus.
352 /// <since_tizen> 3 </since_tizen>
355 /// A special pen device.
357 /// <since_tizen> 3 </since_tizen>
360 /// A pointing device based on laser, infrared or similar technology.
362 /// <since_tizen> 3 </since_tizen>
365 /// A gamepad controller or joystick.
367 /// <since_tizen> 3 </since_tizen>
372 /// An enum of Device Subclass types.
374 /// <since_tizen> 4 </since_tizen>
375 public enum DeviceSubClassType
380 /// <since_tizen> 4 </since_tizen>
383 /// The normal flat of your finger
385 /// <since_tizen> 4 </since_tizen>
390 /// <since_tizen> 4 </since_tizen>
395 /// <since_tizen> 4 </since_tizen>
398 /// The palm of a users hand
400 /// <since_tizen> 4 </since_tizen>
403 /// The side of your hand
405 /// <since_tizen> 4 </since_tizen>
408 /// The flat of your hand
410 /// <since_tizen> 4 </since_tizen>
415 /// <since_tizen> 4 </since_tizen>
418 /// A trackpad style mouse
420 /// <since_tizen> 4 </since_tizen>
423 /// A trackpoint style mouse
425 /// <since_tizen> 4 </since_tizen>
428 /// A trackball style mouse
430 /// <since_tizen> 4 </since_tizen>
433 /// A remote controller
435 /// <since_tizen> 4 </since_tizen>
438 /// A virtual keyboard
440 /// <since_tizen> 4 </since_tizen>
445 /// This specifies all the property types.<br />
446 /// Enumeration for the property types supported.
448 /// <since_tizen> 3 </since_tizen>
449 /// Can't fix because it's already used by other GBM.
450 [SuppressMessage("Microsoft.Naming", "CA1720: Identifiers should not contain type names")]
451 public enum PropertyType
470 /// A vector array of size=2 with float precision.
474 /// A vector array of size=3 with float precision.
478 /// A vector array of size=4 with float precision.
490 /// An integer array of size=4.
494 /// Either a quaternion or an axis angle rotation.
502 /// An array of PropertyValue.
506 /// A string key to PropertyValue mapping.
512 /// <since_tizen> 4 </since_tizen>
517 /// This specifies the property access mode types.<br />
518 /// Enumeration for the access mode for custom properties.
520 /// <since_tizen> 3 </since_tizen>
521 public enum PropertyAccessMode
524 /// If the property is read-only.
528 /// If the property is read or writeable.
532 /// If the property can be animated or constrained.
536 /// The number of access modes.
542 /// Types of style change. Enumeration for the StyleChange type.
544 /// <since_tizen> 3 </since_tizen>
545 [Obsolete("Deprecated in API9, Will be removed in API11.")]
546 public enum StyleChangeType
549 /// Denotes that the default font has changed.
551 [Obsolete("Deprecated in API9, Will be removed in API11.")]
554 /// Denotes that the default font size has changed.
556 [Obsolete("Deprecated in API9, Will be removed in API11.")]
557 DefaultFontSizeChange,
559 /// Denotes that the theme has changed.
561 [Obsolete("Deprecated in API9, Will be removed in API11.")]
566 /// Enumeration for horizontal alignment types.
568 /// <since_tizen> 3 </since_tizen>
569 public enum HorizontalAlignmentType
572 /// Align horizontally left.
574 [Description("left")]
577 /// Align horizontally center.
579 [Description("center")]
582 /// Align horizontally right.
584 [Description("right")]
589 /// Enumeration for vertical alignment types.
591 /// <since_tizen> 3 </since_tizen>
592 public enum VerticalAlignmentType
595 /// Align vertically top.
600 /// Align vertically center.
602 [Description("center")]
605 /// Align vertically bottom.
607 [Description("bottom")]
612 /// Enumeration for point state type.
614 /// <since_tizen> 3 </since_tizen>
615 public enum PointStateType
618 /// Touch or hover started.
622 /// Touch or hover finished.
634 /// Finger dragged or hovered.
638 /// Leave the boundary of an actor.
642 /// No change from last event. <br />
643 /// 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.
647 /// A system event has occurred which has interrupted the touch or hover event sequence.
653 /// The type for HiddenInput mode.
655 /// <since_tizen> 3 </since_tizen>
656 public enum HiddenInputModeType
663 /// Hide all the input text.
667 /// Hide n characters from start.
671 /// Show n characters from start.
675 /// Show last character for the duration(use ShowLastCharacterDuration property to modify duration).
681 /// Auto scrolling stop behavior.
683 /// <since_tizen> 3 </since_tizen>
684 public enum AutoScrollStopMode
687 /// Stop animation after current loop finished.
689 [Description("FINISH_LOOP")]
692 /// Stop animation immediately and reset position.
694 [Description("IMMEDIATE")]
699 /// An enum of screen mode.
701 /// <since_tizen> 4 </since_tizen>
702 public enum ScreenOffMode
705 /// The mode which turns the screen off after a timeout.
709 /// The mode which keeps the screen turned on.
715 /// An enum of notification window's priority level.
717 /// <since_tizen> 3 </since_tizen>
718 public enum NotificationLevel
721 /// No notification level.<br />
722 /// Default level.<br />
723 /// This value makes the notification window place in the layer of the normal window.
727 /// The base notification level.
731 /// The medium notification level than base.
735 /// The higher notification level than medium.
739 /// The highest notification level.
745 /// An enum of window types.
747 /// <since_tizen> 3 </since_tizen>
748 public enum WindowType
751 /// A default window type.<br />
752 /// Indicates a normal or top-level window.
753 /// Almost every window will be created with this type.
757 /// A notification window, like a warning about battery life or a new email received.
761 /// A persistent utility window, like a toolbox or a palette.
765 /// Used for simple dialog windows.
769 /// Used for IME window that is used for keyboard window.
770 /// It should be set in Application's New input param when application is created.
771 /// In addition, it is only for internal keyboard application.
772 /// This should be hidden.
774 [EditorBrowsable(EditorBrowsableState.Never)]
778 /// <since_tizen> 3 </since_tizen>
779 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
780 public enum DisposeTypes
785 /// <since_tizen> 3 </since_tizen>
788 /// Called by DisposeQueue
790 /// <since_tizen> 3 </since_tizen>
795 /// An enum of the scroll state of the text editor.
797 /// <since_tizen> 3 </since_tizen>
798 public enum ScrollState
801 /// Scrolling is started.
806 /// Scrolling is finished.
812 /// An enum of the line wrap mode of text controls.
814 /// <since_tizen> 4 </since_tizen>
815 public enum LineWrapMode
818 /// The word mode will move a word to the next line.
820 /// <since_tizen> 4 </since_tizen>
824 /// character will move character by character to the next line.
826 /// <since_tizen> 4 </since_tizen>
830 /// Hyphenation mode will move part of the word (at possible hyphen locations)
831 /// to the next line and draw a hyphen at the end of the line.
833 [EditorBrowsable(EditorBrowsableState.Never)]
837 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
839 [EditorBrowsable(EditorBrowsableState.Never)]
844 /// An enum of text directions.
846 /// <since_tizen> 5 </since_tizen>
847 public enum TextDirection
850 /// Text direction is from left to right.
852 /// <since_tizen> 5 </since_tizen>
856 /// Text direction is from right to left.
858 /// <since_tizen> 5 </since_tizen>
863 /// An enum of vertical line alignments.
865 /// <since_tizen> 5 </since_tizen>
866 public enum VerticalLineAlignment
869 /// vertical line alignment is from top.
871 /// <since_tizen> 5 </since_tizen>
875 /// vertical line alignment is from center.
877 /// <since_tizen> 5 </since_tizen>
881 /// vertical line alignment is from bottom.
883 /// <since_tizen> 5 </since_tizen>
888 /// An enum of ellipsis position.
890 [EditorBrowsable(EditorBrowsableState.Never)]
891 public enum EllipsisPosition
894 /// ellipsis position at end.
896 [EditorBrowsable(EditorBrowsableState.Never)]
900 /// ellipsis position at start.
902 [EditorBrowsable(EditorBrowsableState.Never)]
906 /// ellipsis position in middle.
908 [EditorBrowsable(EditorBrowsableState.Never)]
913 /// Enumeration type for the font's slant.
915 /// <since_tizen> 5 </since_tizen>
916 public enum FontSlantType
921 /// <since_tizen> 5 </since_tizen>
926 /// <since_tizen> 5 </since_tizen>
931 /// <since_tizen> 5 </since_tizen>
936 /// <since_tizen> 5 </since_tizen>
941 /// <since_tizen> 5 </since_tizen>
946 /// Enumeration type for the font's weight.
948 /// <since_tizen> 5 </since_tizen>
949 public enum FontWeightType
954 /// <since_tizen> 5 </since_tizen>
959 /// <since_tizen> 5 </since_tizen>
964 /// <since_tizen> 5 </since_tizen>
969 /// <since_tizen> 5 </since_tizen>
970 ExtraLight = UltraLight,
974 /// <since_tizen> 5 </since_tizen>
979 /// <since_tizen> 5 </since_tizen>
984 /// <since_tizen> 5 </since_tizen>
985 SemiLight = DemiLight,
989 /// <since_tizen> 5 </since_tizen>
994 /// <since_tizen> 5 </since_tizen>
999 /// <since_tizen> 5 </since_tizen>
1004 /// <since_tizen> 5 </since_tizen>
1009 /// <since_tizen> 5 </since_tizen>
1014 /// <since_tizen> 5 </since_tizen>
1015 SemiBold = DemiBold,
1019 /// <since_tizen> 5 </since_tizen>
1024 /// <since_tizen> 5 </since_tizen>
1029 /// <since_tizen> 5 </since_tizen>
1030 ExtraBold = UltraBold,
1034 /// <since_tizen> 5 </since_tizen>
1039 /// <since_tizen> 5 </since_tizen>
1044 /// <since_tizen> 5 </since_tizen>
1049 /// Enumeration type for the font's width.
1051 /// <since_tizen> 5 </since_tizen>
1052 public enum FontWidthType
1057 /// <since_tizen> 5 </since_tizen>
1062 /// <since_tizen> 5 </since_tizen>
1067 /// <since_tizen> 5 </since_tizen>
1072 /// <since_tizen> 5 </since_tizen>
1077 /// <since_tizen> 5 </since_tizen>
1082 /// <since_tizen> 5 </since_tizen>
1087 /// <since_tizen> 5 </since_tizen>
1092 /// <since_tizen> 5 </since_tizen>
1097 /// <since_tizen> 5 </since_tizen>
1102 /// <since_tizen> 5 </since_tizen>
1107 /// Enumeration type for the glyph type.
1109 /// <since_tizen> 5 </since_tizen>
1110 public enum GlyphType
1113 /// Glyph stored as pixels.
1115 /// <since_tizen> 5 </since_tizen>
1118 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1120 /// <since_tizen> 5 </since_tizen>
1125 /// Enumeration for Setting the rendering behavior of a Window.
1127 /// <since_tizen> 5 </since_tizen>
1128 public enum RenderingBehaviorType
1131 /// Default. Only renders if required.
1135 /// Renders continuously.
1141 /// The HiddenInput property.
1143 /// <since_tizen> 3 </since_tizen>
1144 public struct HiddenInputProperty
1147 /// The mode for input text display.
1149 /// <since_tizen> 3 </since_tizen>
1150 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1152 /// All input characters are substituted by this character.
1154 /// <since_tizen> 3 </since_tizen>
1155 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1157 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1159 /// <since_tizen> 3 </since_tizen>
1160 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1162 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1164 /// <since_tizen> 4 </since_tizen>
1165 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1169 /// ParentOrigin constants.
1171 /// <since_tizen> 3 </since_tizen>
1172 public struct ParentOrigin
1177 /// <since_tizen> 3 </since_tizen>
1178 public static float Top
1182 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1183 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1191 /// <since_tizen> 3 </since_tizen>
1192 public static float Bottom
1196 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1197 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1205 /// <since_tizen> 3 </since_tizen>
1206 public static float Left
1210 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1211 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1219 /// <since_tizen> 3 </since_tizen>
1220 public static float Right
1224 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1225 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1233 /// <since_tizen> 3 </since_tizen>
1234 public static float Middle
1238 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1239 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1247 /// <since_tizen> 3 </since_tizen>
1248 public static Position TopLeft
1252 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1253 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1254 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1262 /// <since_tizen> 3 </since_tizen>
1263 public static Position TopCenter
1267 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1268 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1269 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1277 /// <since_tizen> 3 </since_tizen>
1278 public static Position TopRight
1282 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1283 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1284 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1292 /// <since_tizen> 3 </since_tizen>
1293 public static Position CenterLeft
1297 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1298 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1299 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1307 /// <since_tizen> 3 </since_tizen>
1308 public static Position Center
1312 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1313 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1314 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1322 /// <since_tizen> 3 </since_tizen>
1323 public static Position CenterRight
1327 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1328 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1329 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1337 /// <since_tizen> 3 </since_tizen>
1338 public static Position BottomLeft
1342 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1343 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1344 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1352 /// <since_tizen> 3 </since_tizen>
1353 public static Position BottomCenter
1357 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1358 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1359 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1367 /// <since_tizen> 3 </since_tizen>
1368 public static Position BottomRight
1372 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1373 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1374 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1381 /// PivotPoint constants.
1383 /// <since_tizen> 3 </since_tizen>
1384 public struct PivotPoint
1389 /// <since_tizen> 3 </since_tizen>
1390 public static float Top
1394 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1395 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1402 /// <since_tizen> 3 </since_tizen>
1403 public static float Bottom
1407 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1408 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1415 /// <since_tizen> 3 </since_tizen>
1416 public static float Left
1420 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1421 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1428 /// <since_tizen> 3 </since_tizen>
1429 public static float Right
1433 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1434 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1441 /// <since_tizen> 3 </since_tizen>
1442 public static float Middle
1446 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1447 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1454 /// <since_tizen> 3 </since_tizen>
1455 public static Position TopLeft
1459 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1460 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1461 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1468 /// <since_tizen> 3 </since_tizen>
1469 public static Position TopCenter
1473 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1474 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1475 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1482 /// <since_tizen> 3 </since_tizen>
1483 public static Position TopRight
1487 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1488 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1489 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1496 /// <since_tizen> 3 </since_tizen>
1497 public static Position CenterLeft
1501 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1502 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1503 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1510 /// <since_tizen> 3 </since_tizen>
1511 public static Position Center
1515 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1516 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1517 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1524 /// <since_tizen> 3 </since_tizen>
1525 public static Position CenterRight
1529 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1530 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1531 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1538 /// <since_tizen> 3 </since_tizen>
1539 public static Position BottomLeft
1543 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1544 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1545 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1552 /// <since_tizen> 3 </since_tizen>
1553 public static Position BottomCenter
1557 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1558 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1559 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1566 /// <since_tizen> 3 </since_tizen>
1567 public static Position BottomRight
1571 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1572 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1573 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1579 /// PositionAxis constants.
1581 /// <since_tizen> 3 </since_tizen>
1582 public struct PositionAxis
1587 /// <since_tizen> 3 </since_tizen>
1588 public static Position X
1592 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1593 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1594 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1601 /// <since_tizen> 3 </since_tizen>
1602 public static Position Y
1606 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1607 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1608 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1615 /// <since_tizen> 3 </since_tizen>
1616 public static Position Z
1620 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1621 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1622 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1627 /// The Negative X axis
1629 /// <since_tizen> 3 </since_tizen>
1630 public static Position NegativeX
1634 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1635 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1636 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1641 /// The Negative Y axis
1643 /// <since_tizen> 3 </since_tizen>
1644 public static Position NegativeY
1648 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1649 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1650 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1655 /// The Negative Z axis
1657 /// <since_tizen> 3 </since_tizen>
1658 public static Position NegativeZ
1662 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1663 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1664 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1671 /// [Obsolete("Please do not use! this will be deprecated")]
1673 /// <since_tizen> 3 </since_tizen>
1674 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1675 [EditorBrowsable(EditorBrowsableState.Never)]
1676 public struct AnchorPoint
1681 /// <since_tizen> 3 </since_tizen>
1682 public static float Top
1686 return PivotPoint.Top;
1692 /// <since_tizen> 3 </since_tizen>
1693 public static float Bottom
1697 return PivotPoint.Bottom;
1703 /// <since_tizen> 3 </since_tizen>
1704 public static float Left
1708 return PivotPoint.Left;
1714 /// <since_tizen> 3 </since_tizen>
1715 public static float Right
1719 return PivotPoint.Right;
1725 /// <since_tizen> 3 </since_tizen>
1726 public static float Middle
1730 return PivotPoint.Middle;
1736 /// <since_tizen> 3 </since_tizen>
1737 public static Position TopLeft
1741 return PivotPoint.TopLeft;
1747 /// <since_tizen> 3 </since_tizen>
1748 public static Position TopCenter
1752 return PivotPoint.TopCenter;
1758 /// <since_tizen> 3 </since_tizen>
1759 public static Position TopRight
1763 return PivotPoint.TopRight;
1769 /// <since_tizen> 3 </since_tizen>
1770 public static Position CenterLeft
1774 return PivotPoint.CenterLeft;
1780 /// <since_tizen> 3 </since_tizen>
1781 public static Position Center
1785 return PivotPoint.Center;
1791 /// <since_tizen> 3 </since_tizen>
1792 public static Position CenterRight
1796 return PivotPoint.CenterRight;
1802 /// <since_tizen> 3 </since_tizen>
1803 public static Position BottomLeft
1807 return PivotPoint.BottomLeft;
1813 /// <since_tizen> 3 </since_tizen>
1814 public static Position BottomCenter
1818 return PivotPoint.BottomCenter;
1824 /// <since_tizen> 3 </since_tizen>
1825 public static Position BottomRight
1829 return PivotPoint.BottomRight;
1835 /// Enumeration for setting cache model of a WebView.
1837 [EditorBrowsable(EditorBrowsableState.Never)]
1838 public enum CacheModel
1841 /// Use the smallest cache capacity.
1845 /// Use the bigger cache capacity than DocumentBrowser.
1849 /// Use the biggest cache capacity.
1855 /// Enumeration for setting cache model of a WebView.
1857 [EditorBrowsable(EditorBrowsableState.Never)]
1858 public enum CookieAcceptPolicy
1861 /// Accepts every cookie sent from any page.
1865 /// Rejects all the cookies.
1869 /// Accepts only cookies set by the main document that is loaded.
1875 /// FontSizeScale constant.
1877 /// <since_tizen> 9 </since_tizen>
1878 public struct FontSizeScale
1881 /// UseSystemSetting
1883 /// <since_tizen> 9 </since_tizen>
1884 public const float UseSystemSetting = -1.0f;
1888 /// Offset has left, right, bottom, top value.
1890 [EditorBrowsable(EditorBrowsableState.Never)]
1891 public struct Offset
1896 /// <param name="left">left offset</param>
1897 /// <param name="right">right offset</param>
1898 /// <param name="bottom">bottom offset</param>
1899 /// <param name="top">top offset</param>
1900 [EditorBrowsable(EditorBrowsableState.Never)]
1901 public Offset(int left, int right, int bottom, int top)
1912 [EditorBrowsable(EditorBrowsableState.Never)]
1913 public int Left {get; set;}
1918 [EditorBrowsable(EditorBrowsableState.Never)]
1919 public int Right {get; set;}
1924 [EditorBrowsable(EditorBrowsableState.Never)]
1925 public int Bottom {get; set;}
1930 [EditorBrowsable(EditorBrowsableState.Never)]
1931 public int Top {get; set;}
1936 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1937 /// Internal use only. Do not open this API.
1939 internal struct FrameworkInformation
1941 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1945 /// This Enumeration is used the GLES version for EGL configuration.<br />
1946 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1947 /// It is for GLWindow and GLView.<br />
1949 [EditorBrowsable(EditorBrowsableState.Never)]
1950 public enum GLESVersion
1953 /// GLES version 2.0
1955 [EditorBrowsable(EditorBrowsableState.Never)]
1959 /// GLES version 3.0
1961 [EditorBrowsable(EditorBrowsableState.Never)]
1966 /// Enumeration for rendering mode
1967 /// This Enumeration is used to choose the rendering mode.
1968 /// It has two options.
1969 /// One of them is continuous mode. It is rendered continuously.
1970 /// The other is on demand mode. It is rendered by application.
1971 /// It is for GLWindow and GLView.
1973 [EditorBrowsable(EditorBrowsableState.Never)]
1974 public enum GLRenderingMode
1979 [EditorBrowsable(EditorBrowsableState.Never)]
1983 /// on demand by application
1985 [EditorBrowsable(EditorBrowsableState.Never)]
1990 /// Enumeration for the type of InputFilter. <br />
1993 /// The type of InputFilter that is stored in the <see cref="Tizen.NUI.BaseComponents.InputFilteredEventArgs"/> when the input is filtered. <br />
1995 [EditorBrowsable(EditorBrowsableState.Never)]
1996 public enum InputFilterType
1999 /// The type of InputFilter is Accept.
2001 [EditorBrowsable(EditorBrowsableState.Never)]
2005 /// The type of InputFilter is Reject.
2007 [EditorBrowsable(EditorBrowsableState.Never)]
2012 /// Enumeration for the size type of font. <br />
2015 /// The size type of font used as a property of <see cref="Tizen.NUI.Text.TextFit"/>. <br />
2017 [EditorBrowsable(EditorBrowsableState.Never)]
2018 public enum FontSizeType
2023 [EditorBrowsable(EditorBrowsableState.Never)]
2029 [EditorBrowsable(EditorBrowsableState.Never)]
2036 /// A struct to pass data of InputFilter PropertyMap. <br />
2039 /// InputFilter filters input based on regular expressions. <br />
2040 /// Users can set the Accepted or Rejected regular expression set, or both. <br />
2041 /// If both are used, Rejected has higher priority. <br />
2042 /// The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods. <br />
2043 /// 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 />
2045 [EditorBrowsable(EditorBrowsableState.Never)]
2046 public struct InputFilter
2049 /// A regular expression in the set of characters to be accepted by the inputFilter.
2051 [EditorBrowsable(EditorBrowsableState.Never)]
2052 public Regex Accepted { get; set; }
2055 /// A regular expression in the set of characters to be rejected by the inputFilter.
2057 [EditorBrowsable(EditorBrowsableState.Never)]
2058 public Regex Rejected { get; set; }
2062 /// A struct to pass data of FontStyle PropertyMap. <br />
2065 /// The FontStyle struct is used as an argument to SetFontStyle and GetFontStyle methods. <br />
2066 /// 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 />
2068 [EditorBrowsable(EditorBrowsableState.Never)]
2069 public struct FontStyle
2072 /// The Width defines occupied by each glyph.
2074 [EditorBrowsable(EditorBrowsableState.Never)]
2075 public FontWidthType Width { get; set; }
2078 /// The Weight defines the thickness or darkness of the glyphs.
2080 [EditorBrowsable(EditorBrowsableState.Never)]
2081 public FontWeightType Weight { get; set; }
2084 /// The Slant defines whether to use italics.
2086 [EditorBrowsable(EditorBrowsableState.Never)]
2087 public FontSlantType Slant { get; set; }
2091 /// A struct to pass data of Underline PropertyMap. <br />
2094 /// The Underline struct is used as an argument to SetUnderline and GetUnderline methods. <br />
2095 /// 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 />
2097 [EditorBrowsable(EditorBrowsableState.Never)]
2098 public struct Underline
2101 /// Whether the underline is enabled (the default value is false).
2103 [EditorBrowsable(EditorBrowsableState.Never)]
2104 public bool Enable { get; set; }
2107 /// The color of the underline (if not provided then the color of the text is used).
2109 [EditorBrowsable(EditorBrowsableState.Never)]
2110 public Color Color { get; set; }
2113 /// The height in pixels of the underline (the default value is 1.0f, value can not be set to 0.0f, if set to 0.0f then the height is set to 1.0f).
2115 [EditorBrowsable(EditorBrowsableState.Never)]
2116 public float Height { get; set; }
2120 /// A struct to pass data of Shadow PropertyMap. <br />
2123 /// The Shadow struct is used as an argument to SetShadow and GetShadow methods. <br />
2124 /// 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 />
2126 [EditorBrowsable(EditorBrowsableState.Never)]
2127 public struct Shadow
2130 /// The color of the shadow (the default color is Color.Black).
2132 [EditorBrowsable(EditorBrowsableState.Never)]
2133 public Color Color { get; set; }
2136 /// The offset in pixels of the shadow (If not provided then the shadow is not enabled).
2138 [EditorBrowsable(EditorBrowsableState.Never)]
2139 public Vector2 Offset { get; set; }
2142 /// The radius of the Gaussian blur for the soft shadow (If not provided then the soft shadow is not enabled).
2144 [EditorBrowsable(EditorBrowsableState.Never)]
2145 public float BlurRadius { get; set; }
2149 /// A struct to pass data of Outline PropertyMap. <br />
2152 /// The Outline struct is used as an argument to SetOutline and GetOutline methods. <br />
2153 /// 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 />
2155 [EditorBrowsable(EditorBrowsableState.Never)]
2156 public struct Outline
2159 /// The color of the outline (the default color is Color.White).
2161 [EditorBrowsable(EditorBrowsableState.Never)]
2162 public Color Color { get; set; }
2165 /// The width in pixels of the outline (If not provided then the outline is not enabled).
2167 [EditorBrowsable(EditorBrowsableState.Never)]
2168 public float Width { get; set; }
2172 /// A struct to pass data of TextFit PropertyMap. <br />
2175 /// The TextFit struct is used as an argument to SetTextFit and GetTextFit methods. <br />
2176 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetTextFit"/> and <see cref="Tizen.NUI.BaseComponents.TextLabel.GetTextFit"/>. <br />
2178 [EditorBrowsable(EditorBrowsableState.Never)]
2179 public struct TextFit
2182 /// True to enable the text fit or false to disable (the default value is false).
2184 [EditorBrowsable(EditorBrowsableState.Never)]
2185 public bool Enable { get; set; }
2188 /// Minimum Size for text fit.
2190 [EditorBrowsable(EditorBrowsableState.Never)]
2191 public float MinSize { get; set; }
2194 /// Maximum Size for text fit.
2196 [EditorBrowsable(EditorBrowsableState.Never)]
2197 public float MaxSize { get; set; }
2200 /// Step Size for font increase.
2202 [EditorBrowsable(EditorBrowsableState.Never)]
2203 public float StepSize { get; set; }
2206 /// The size type of font, PointSize or PixelSize (the default value is PointSize).
2208 [EditorBrowsable(EditorBrowsableState.Never)]
2209 public FontSizeType FontSizeType { get; set; }