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.
746 /// <since_tizen> 3 </since_tizen>
747 public enum WindowType
750 /// A default window type.<br />
751 /// Indicates a normal or top-level window.
752 /// Almost every window will be created with this type.
756 /// A notification window, like a warning about battery life or a new email received.
760 /// A persistent utility window, like a toolbox or a palette.
764 /// Used for simple dialog windows.
768 /// Used for IME window that is used for keyboard window.
769 /// It should be set in Application's New input param when application is created.
770 /// In addition, it is only for internal keyboard application.
771 /// This should be hidden.
773 [EditorBrowsable(EditorBrowsableState.Never)]
777 /// <since_tizen> 3 </since_tizen>
778 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
779 public enum DisposeTypes
784 /// <since_tizen> 3 </since_tizen>
787 /// Called by DisposeQueue
789 /// <since_tizen> 3 </since_tizen>
794 /// An enum of the scroll state of the text editor.
796 /// <since_tizen> 3 </since_tizen>
797 public enum ScrollState
800 /// Scrolling is started.
805 /// Scrolling is finished.
811 /// An enum of the line wrap mode of text controls.
813 /// <since_tizen> 4 </since_tizen>
814 public enum LineWrapMode
817 /// The word mode will move a word to the next line.
819 /// <since_tizen> 4 </since_tizen>
823 /// character will move character by character to the next line.
825 /// <since_tizen> 4 </since_tizen>
829 /// Hyphenation mode will move part of the word (at possible hyphen locations)
830 /// to the next line and draw a hyphen at the end of the line.
832 [EditorBrowsable(EditorBrowsableState.Never)]
836 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
838 [EditorBrowsable(EditorBrowsableState.Never)]
843 /// An enum of text directions.
845 /// <since_tizen> 5 </since_tizen>
846 public enum TextDirection
849 /// Text direction is from left to right.
851 /// <since_tizen> 5 </since_tizen>
855 /// Text direction is from right to left.
857 /// <since_tizen> 5 </since_tizen>
862 /// An enum of vertical line alignments.
864 /// <since_tizen> 5 </since_tizen>
865 public enum VerticalLineAlignment
868 /// vertical line alignment is from top.
870 /// <since_tizen> 5 </since_tizen>
874 /// vertical line alignment is from center.
876 /// <since_tizen> 5 </since_tizen>
880 /// vertical line alignment is from bottom.
882 /// <since_tizen> 5 </since_tizen>
887 /// An enum of ellipsis position.
889 [EditorBrowsable(EditorBrowsableState.Never)]
890 public enum EllipsisPosition
893 /// ellipsis position at end.
895 [EditorBrowsable(EditorBrowsableState.Never)]
899 /// ellipsis position at start.
901 [EditorBrowsable(EditorBrowsableState.Never)]
905 /// ellipsis position in middle.
907 [EditorBrowsable(EditorBrowsableState.Never)]
912 /// Enumeration type for the font's slant.
914 /// <since_tizen> 5 </since_tizen>
915 public enum FontSlantType
920 /// <since_tizen> 5 </since_tizen>
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 /// Enumeration type for the font's weight.
947 /// <since_tizen> 5 </since_tizen>
948 public enum FontWeightType
953 /// <since_tizen> 5 </since_tizen>
958 /// <since_tizen> 5 </since_tizen>
963 /// <since_tizen> 5 </since_tizen>
968 /// <since_tizen> 5 </since_tizen>
969 ExtraLight = UltraLight,
973 /// <since_tizen> 5 </since_tizen>
978 /// <since_tizen> 5 </since_tizen>
983 /// <since_tizen> 5 </since_tizen>
984 SemiLight = DemiLight,
988 /// <since_tizen> 5 </since_tizen>
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>
1014 SemiBold = DemiBold,
1018 /// <since_tizen> 5 </since_tizen>
1023 /// <since_tizen> 5 </since_tizen>
1028 /// <since_tizen> 5 </since_tizen>
1029 ExtraBold = UltraBold,
1033 /// <since_tizen> 5 </since_tizen>
1038 /// <since_tizen> 5 </since_tizen>
1043 /// <since_tizen> 5 </since_tizen>
1048 /// Enumeration type for the font's width.
1050 /// <since_tizen> 5 </since_tizen>
1051 public enum FontWidthType
1056 /// <since_tizen> 5 </since_tizen>
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 /// Enumeration type for the glyph type.
1108 /// <since_tizen> 5 </since_tizen>
1109 public enum GlyphType
1112 /// Glyph stored as pixels.
1114 /// <since_tizen> 5 </since_tizen>
1117 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1119 /// <since_tizen> 5 </since_tizen>
1124 /// Enumeration for Setting the rendering behavior of a Window.
1126 /// <since_tizen> 5 </since_tizen>
1127 public enum RenderingBehaviorType
1130 /// Default. Only renders if required.
1134 /// Renders continuously.
1140 /// The HiddenInput property.
1142 /// <since_tizen> 3 </since_tizen>
1143 public struct HiddenInputProperty
1146 /// The mode for input text display.
1148 /// <since_tizen> 3 </since_tizen>
1149 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1151 /// All input characters are substituted by this character.
1153 /// <since_tizen> 3 </since_tizen>
1154 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1156 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1158 /// <since_tizen> 3 </since_tizen>
1159 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1161 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1163 /// <since_tizen> 4 </since_tizen>
1164 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1168 /// ParentOrigin constants.
1170 /// <since_tizen> 3 </since_tizen>
1171 public struct ParentOrigin
1176 /// <since_tizen> 3 </since_tizen>
1177 public static float Top
1181 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1182 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1190 /// <since_tizen> 3 </since_tizen>
1191 public static float Bottom
1195 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1196 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1204 /// <since_tizen> 3 </since_tizen>
1205 public static float Left
1209 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1210 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1218 /// <since_tizen> 3 </since_tizen>
1219 public static float Right
1223 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1224 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1232 /// <since_tizen> 3 </since_tizen>
1233 public static float Middle
1237 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1238 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1246 /// <since_tizen> 3 </since_tizen>
1247 public static Position TopLeft
1251 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1252 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1253 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1261 /// <since_tizen> 3 </since_tizen>
1262 public static Position TopCenter
1266 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1267 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1268 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1276 /// <since_tizen> 3 </since_tizen>
1277 public static Position TopRight
1281 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1282 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1283 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1291 /// <since_tizen> 3 </since_tizen>
1292 public static Position CenterLeft
1296 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1297 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1298 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1306 /// <since_tizen> 3 </since_tizen>
1307 public static Position Center
1311 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1312 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1313 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1321 /// <since_tizen> 3 </since_tizen>
1322 public static Position CenterRight
1326 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1327 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1328 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1336 /// <since_tizen> 3 </since_tizen>
1337 public static Position BottomLeft
1341 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1342 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1343 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1351 /// <since_tizen> 3 </since_tizen>
1352 public static Position BottomCenter
1356 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1357 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1358 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1366 /// <since_tizen> 3 </since_tizen>
1367 public static Position BottomRight
1371 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1372 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1373 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1380 /// PivotPoint constants.
1382 /// <since_tizen> 3 </since_tizen>
1383 public struct PivotPoint
1388 /// <since_tizen> 3 </since_tizen>
1389 public static float Top
1393 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1394 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1401 /// <since_tizen> 3 </since_tizen>
1402 public static float Bottom
1406 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1407 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1414 /// <since_tizen> 3 </since_tizen>
1415 public static float Left
1419 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1420 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1427 /// <since_tizen> 3 </since_tizen>
1428 public static float Right
1432 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1433 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1440 /// <since_tizen> 3 </since_tizen>
1441 public static float Middle
1445 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1446 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1453 /// <since_tizen> 3 </since_tizen>
1454 public static Position TopLeft
1458 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1459 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1460 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1467 /// <since_tizen> 3 </since_tizen>
1468 public static Position TopCenter
1472 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1473 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1474 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1481 /// <since_tizen> 3 </since_tizen>
1482 public static Position TopRight
1486 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1487 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1488 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1495 /// <since_tizen> 3 </since_tizen>
1496 public static Position CenterLeft
1500 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1501 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1502 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1509 /// <since_tizen> 3 </since_tizen>
1510 public static Position Center
1514 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1515 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1516 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1523 /// <since_tizen> 3 </since_tizen>
1524 public static Position CenterRight
1528 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1529 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1530 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1537 /// <since_tizen> 3 </since_tizen>
1538 public static Position BottomLeft
1542 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1543 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1544 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1551 /// <since_tizen> 3 </since_tizen>
1552 public static Position BottomCenter
1556 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1557 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1558 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1565 /// <since_tizen> 3 </since_tizen>
1566 public static Position BottomRight
1570 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1571 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1572 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1578 /// PositionAxis constants.
1580 /// <since_tizen> 3 </since_tizen>
1581 public struct PositionAxis
1586 /// <since_tizen> 3 </since_tizen>
1587 public static Position X
1591 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1592 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1593 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1600 /// <since_tizen> 3 </since_tizen>
1601 public static Position Y
1605 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1606 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1607 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1614 /// <since_tizen> 3 </since_tizen>
1615 public static Position Z
1619 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1620 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1621 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1626 /// The Negative X axis
1628 /// <since_tizen> 3 </since_tizen>
1629 public static Position NegativeX
1633 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1634 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1635 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1640 /// The Negative Y axis
1642 /// <since_tizen> 3 </since_tizen>
1643 public static Position NegativeY
1647 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1648 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1649 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1654 /// The Negative Z axis
1656 /// <since_tizen> 3 </since_tizen>
1657 public static Position NegativeZ
1661 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1662 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1663 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1670 /// [Obsolete("Please do not use! this will be deprecated")]
1672 /// <since_tizen> 3 </since_tizen>
1673 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1674 [EditorBrowsable(EditorBrowsableState.Never)]
1675 public struct AnchorPoint
1680 /// <since_tizen> 3 </since_tizen>
1681 public static float Top
1685 return PivotPoint.Top;
1691 /// <since_tizen> 3 </since_tizen>
1692 public static float Bottom
1696 return PivotPoint.Bottom;
1702 /// <since_tizen> 3 </since_tizen>
1703 public static float Left
1707 return PivotPoint.Left;
1713 /// <since_tizen> 3 </since_tizen>
1714 public static float Right
1718 return PivotPoint.Right;
1724 /// <since_tizen> 3 </since_tizen>
1725 public static float Middle
1729 return PivotPoint.Middle;
1735 /// <since_tizen> 3 </since_tizen>
1736 public static Position TopLeft
1740 return PivotPoint.TopLeft;
1746 /// <since_tizen> 3 </since_tizen>
1747 public static Position TopCenter
1751 return PivotPoint.TopCenter;
1757 /// <since_tizen> 3 </since_tizen>
1758 public static Position TopRight
1762 return PivotPoint.TopRight;
1768 /// <since_tizen> 3 </since_tizen>
1769 public static Position CenterLeft
1773 return PivotPoint.CenterLeft;
1779 /// <since_tizen> 3 </since_tizen>
1780 public static Position Center
1784 return PivotPoint.Center;
1790 /// <since_tizen> 3 </since_tizen>
1791 public static Position CenterRight
1795 return PivotPoint.CenterRight;
1801 /// <since_tizen> 3 </since_tizen>
1802 public static Position BottomLeft
1806 return PivotPoint.BottomLeft;
1812 /// <since_tizen> 3 </since_tizen>
1813 public static Position BottomCenter
1817 return PivotPoint.BottomCenter;
1823 /// <since_tizen> 3 </since_tizen>
1824 public static Position BottomRight
1828 return PivotPoint.BottomRight;
1834 /// Enumeration for setting cache model of a WebView.
1836 [EditorBrowsable(EditorBrowsableState.Never)]
1837 public enum CacheModel
1840 /// Use the smallest cache capacity.
1844 /// Use the bigger cache capacity than DocumentBrowser.
1848 /// Use the biggest cache capacity.
1854 /// Enumeration for setting cache model of a WebView.
1856 [EditorBrowsable(EditorBrowsableState.Never)]
1857 public enum CookieAcceptPolicy
1860 /// Accepts every cookie sent from any page.
1864 /// Rejects all the cookies.
1868 /// Accepts only cookies set by the main document that is loaded.
1874 /// FontSizeScale constant.
1876 /// <since_tizen> 9 </since_tizen>
1877 public struct FontSizeScale
1880 /// UseSystemSetting
1882 /// <since_tizen> 9 </since_tizen>
1883 public const float UseSystemSetting = -1.0f;
1887 /// Offset has left, right, bottom, top value.
1889 [EditorBrowsable(EditorBrowsableState.Never)]
1890 public struct Offset
1895 /// <param name="left">left offset</param>
1896 /// <param name="right">right offset</param>
1897 /// <param name="bottom">bottom offset</param>
1898 /// <param name="top">top offset</param>
1899 [EditorBrowsable(EditorBrowsableState.Never)]
1900 public Offset(int left, int right, int bottom, int top)
1911 [EditorBrowsable(EditorBrowsableState.Never)]
1912 public int Left {get; set;}
1917 [EditorBrowsable(EditorBrowsableState.Never)]
1918 public int Right {get; set;}
1923 [EditorBrowsable(EditorBrowsableState.Never)]
1924 public int Bottom {get; set;}
1929 [EditorBrowsable(EditorBrowsableState.Never)]
1930 public int Top {get; set;}
1935 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1936 /// Internal use only. Do not open this API.
1938 internal struct FrameworkInformation
1940 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1944 /// This Enumeration is used the GLES version for EGL configuration.<br />
1945 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1946 /// It is for GLWindow and GLView.<br />
1948 [EditorBrowsable(EditorBrowsableState.Never)]
1949 public enum GLESVersion
1952 /// GLES version 2.0
1954 [EditorBrowsable(EditorBrowsableState.Never)]
1958 /// GLES version 3.0
1960 [EditorBrowsable(EditorBrowsableState.Never)]
1965 /// Enumeration for rendering mode
1966 /// This Enumeration is used to choose the rendering mode.
1967 /// It has two options.
1968 /// One of them is continuous mode. It is rendered continuously.
1969 /// The other is on demand mode. It is rendered by application.
1970 /// It is for GLWindow and GLView.
1972 [EditorBrowsable(EditorBrowsableState.Never)]
1973 public enum GLRenderingMode
1978 [EditorBrowsable(EditorBrowsableState.Never)]
1982 /// on demand by application
1984 [EditorBrowsable(EditorBrowsableState.Never)]
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; }