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 /// Because IME window type can not change in runtime.
771 /// So, It does not work with Window.Type.
776 /// <since_tizen> 3 </since_tizen>
777 [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names")]
778 public enum DisposeTypes
783 /// <since_tizen> 3 </since_tizen>
786 /// Called by DisposeQueue
788 /// <since_tizen> 3 </since_tizen>
793 /// An enum of the scroll state of the text editor.
795 /// <since_tizen> 3 </since_tizen>
796 public enum ScrollState
799 /// Scrolling is started.
804 /// Scrolling is finished.
810 /// An enum of the line wrap mode of text controls.
812 /// <since_tizen> 4 </since_tizen>
813 public enum LineWrapMode
816 /// The word mode will move a word to the next line.
818 /// <since_tizen> 4 </since_tizen>
822 /// character will move character by character to the next line.
824 /// <since_tizen> 4 </since_tizen>
828 /// Hyphenation mode will move part of the word (at possible hyphen locations)
829 /// to the next line and draw a hyphen at the end of the line.
831 [EditorBrowsable(EditorBrowsableState.Never)]
835 /// Mixed mode will try word wrap, if failed, it will try hyphenation wrap.
837 [EditorBrowsable(EditorBrowsableState.Never)]
842 /// An enum of text directions.
844 /// <since_tizen> 5 </since_tizen>
845 public enum TextDirection
848 /// Text direction is from left to right.
850 /// <since_tizen> 5 </since_tizen>
854 /// Text direction is from right to left.
856 /// <since_tizen> 5 </since_tizen>
861 /// An enum of vertical line alignments.
863 /// <since_tizen> 5 </since_tizen>
864 public enum VerticalLineAlignment
867 /// vertical line alignment is from top.
869 /// <since_tizen> 5 </since_tizen>
873 /// vertical line alignment is from center.
875 /// <since_tizen> 5 </since_tizen>
879 /// vertical line alignment is from bottom.
881 /// <since_tizen> 5 </since_tizen>
886 /// An enum of ellipsis position.
888 [EditorBrowsable(EditorBrowsableState.Never)]
889 public enum EllipsisPosition
892 /// ellipsis position at end.
894 [EditorBrowsable(EditorBrowsableState.Never)]
898 /// ellipsis position at start.
900 [EditorBrowsable(EditorBrowsableState.Never)]
904 /// ellipsis position in middle.
906 [EditorBrowsable(EditorBrowsableState.Never)]
911 /// Enumeration type for the font's slant.
913 /// <since_tizen> 5 </since_tizen>
914 public enum FontSlantType
919 /// <since_tizen> 5 </since_tizen>
924 /// <since_tizen> 5 </since_tizen>
929 /// <since_tizen> 5 </since_tizen>
934 /// <since_tizen> 5 </since_tizen>
939 /// <since_tizen> 5 </since_tizen>
944 /// Enumeration type for the font's weight.
946 /// <since_tizen> 5 </since_tizen>
947 public enum FontWeightType
952 /// <since_tizen> 5 </since_tizen>
957 /// <since_tizen> 5 </since_tizen>
962 /// <since_tizen> 5 </since_tizen>
967 /// <since_tizen> 5 </since_tizen>
968 ExtraLight = UltraLight,
972 /// <since_tizen> 5 </since_tizen>
977 /// <since_tizen> 5 </since_tizen>
982 /// <since_tizen> 5 </since_tizen>
983 SemiLight = DemiLight,
987 /// <since_tizen> 5 </since_tizen>
992 /// <since_tizen> 5 </since_tizen>
997 /// <since_tizen> 5 </since_tizen>
1002 /// <since_tizen> 5 </since_tizen>
1007 /// <since_tizen> 5 </since_tizen>
1012 /// <since_tizen> 5 </since_tizen>
1013 SemiBold = DemiBold,
1017 /// <since_tizen> 5 </since_tizen>
1022 /// <since_tizen> 5 </since_tizen>
1027 /// <since_tizen> 5 </since_tizen>
1028 ExtraBold = UltraBold,
1032 /// <since_tizen> 5 </since_tizen>
1037 /// <since_tizen> 5 </since_tizen>
1042 /// <since_tizen> 5 </since_tizen>
1047 /// Enumeration type for the font's width.
1049 /// <since_tizen> 5 </since_tizen>
1050 public enum FontWidthType
1055 /// <since_tizen> 5 </since_tizen>
1060 /// <since_tizen> 5 </since_tizen>
1065 /// <since_tizen> 5 </since_tizen>
1070 /// <since_tizen> 5 </since_tizen>
1075 /// <since_tizen> 5 </since_tizen>
1080 /// <since_tizen> 5 </since_tizen>
1085 /// <since_tizen> 5 </since_tizen>
1090 /// <since_tizen> 5 </since_tizen>
1095 /// <since_tizen> 5 </since_tizen>
1100 /// <since_tizen> 5 </since_tizen>
1105 /// Enumeration type for the glyph type.
1107 /// <since_tizen> 5 </since_tizen>
1108 public enum GlyphType
1111 /// Glyph stored as pixels.
1113 /// <since_tizen> 5 </since_tizen>
1116 /// Glyph stored as vectors (scalable). This feature requires highp shader support and is not available on all platforms.
1118 /// <since_tizen> 5 </since_tizen>
1123 /// Enumeration for Setting the rendering behavior of a Window.
1125 /// <since_tizen> 5 </since_tizen>
1126 public enum RenderingBehaviorType
1129 /// Default. Only renders if required.
1133 /// Renders continuously.
1139 /// The HiddenInput property.
1141 /// <since_tizen> 3 </since_tizen>
1142 public struct HiddenInputProperty
1145 /// The mode for input text display.
1147 /// <since_tizen> 3 </since_tizen>
1148 public static readonly int Mode = NDalicManualPINVOKE.HiddeninputPropertyModeGet();
1150 /// All input characters are substituted by this character.
1152 /// <since_tizen> 3 </since_tizen>
1153 public static readonly int SubstituteCharacter = NDalicManualPINVOKE.HiddeninputPropertySubstituteCharacterGet();
1155 /// Length of text to show or hide, available when HIDE_COUNT/SHOW_COUNT mode is used.
1157 /// <since_tizen> 3 </since_tizen>
1158 public static readonly int SubstituteCount = NDalicManualPINVOKE.HiddeninputPropertySubstituteCountGet();
1160 /// Hide last character after this duration, available when SHOW_LAST_CHARACTER mode.
1162 /// <since_tizen> 4 </since_tizen>
1163 public static readonly int ShowLastCharacterDuration = NDalicManualPINVOKE.HiddeninputPropertyShowLastCharacterDurationGet();
1167 /// ParentOrigin constants.
1169 /// <since_tizen> 3 </since_tizen>
1170 public struct ParentOrigin
1175 /// <since_tizen> 3 </since_tizen>
1176 public static float Top
1180 float ret = Interop.NDalicParentOrigin.ParentOriginTopGet();
1181 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1189 /// <since_tizen> 3 </since_tizen>
1190 public static float Bottom
1194 float ret = Interop.NDalicParentOrigin.ParentOriginBottomGet();
1195 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1203 /// <since_tizen> 3 </since_tizen>
1204 public static float Left
1208 float ret = Interop.NDalicParentOrigin.ParentOriginLeftGet();
1209 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1217 /// <since_tizen> 3 </since_tizen>
1218 public static float Right
1222 float ret = Interop.NDalicParentOrigin.ParentOriginRightGet();
1223 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1231 /// <since_tizen> 3 </since_tizen>
1232 public static float Middle
1236 float ret = Interop.NDalicParentOrigin.ParentOriginMiddleGet();
1237 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1245 /// <since_tizen> 3 </since_tizen>
1246 public static Position TopLeft
1250 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeftGet();
1251 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1252 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1260 /// <since_tizen> 3 </since_tizen>
1261 public static Position TopCenter
1265 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenterGet();
1266 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1267 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1275 /// <since_tizen> 3 </since_tizen>
1276 public static Position TopRight
1280 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRightGet();
1281 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1282 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1290 /// <since_tizen> 3 </since_tizen>
1291 public static Position CenterLeft
1295 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeftGet();
1296 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1297 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1305 /// <since_tizen> 3 </since_tizen>
1306 public static Position Center
1310 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterGet();
1311 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1312 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1320 /// <since_tizen> 3 </since_tizen>
1321 public static Position CenterRight
1325 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRightGet();
1326 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1327 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1335 /// <since_tizen> 3 </since_tizen>
1336 public static Position BottomLeft
1340 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeftGet();
1341 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1342 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1350 /// <since_tizen> 3 </since_tizen>
1351 public static Position BottomCenter
1355 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenterGet();
1356 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1357 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1365 /// <since_tizen> 3 </since_tizen>
1366 public static Position BottomRight
1370 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRightGet();
1371 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1372 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1379 /// PivotPoint constants.
1381 /// <since_tizen> 3 </since_tizen>
1382 public struct PivotPoint
1387 /// <since_tizen> 3 </since_tizen>
1388 public static float Top
1392 float ret = Interop.NDalicAnchorPoint.AnchorPointTopGet();
1393 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1400 /// <since_tizen> 3 </since_tizen>
1401 public static float Bottom
1405 float ret = Interop.NDalicAnchorPoint.AnchorPointBottomGet();
1406 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1413 /// <since_tizen> 3 </since_tizen>
1414 public static float Left
1418 float ret = Interop.NDalicAnchorPoint.AnchorPointLeftGet();
1419 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1426 /// <since_tizen> 3 </since_tizen>
1427 public static float Right
1431 float ret = Interop.NDalicAnchorPoint.AnchorPointRightGet();
1432 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1439 /// <since_tizen> 3 </since_tizen>
1440 public static float Middle
1444 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddleGet();
1445 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1452 /// <since_tizen> 3 </since_tizen>
1453 public static Position TopLeft
1457 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeftGet();
1458 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1459 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1466 /// <since_tizen> 3 </since_tizen>
1467 public static Position TopCenter
1471 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenterGet();
1472 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1473 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1480 /// <since_tizen> 3 </since_tizen>
1481 public static Position TopRight
1485 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRightGet();
1486 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1487 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1494 /// <since_tizen> 3 </since_tizen>
1495 public static Position CenterLeft
1499 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeftGet();
1500 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1501 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1508 /// <since_tizen> 3 </since_tizen>
1509 public static Position Center
1513 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterGet();
1514 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1515 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1522 /// <since_tizen> 3 </since_tizen>
1523 public static Position CenterRight
1527 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRightGet();
1528 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1529 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1536 /// <since_tizen> 3 </since_tizen>
1537 public static Position BottomLeft
1541 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeftGet();
1542 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1543 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1550 /// <since_tizen> 3 </since_tizen>
1551 public static Position BottomCenter
1555 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenterGet();
1556 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1557 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1564 /// <since_tizen> 3 </since_tizen>
1565 public static Position BottomRight
1569 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRightGet();
1570 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1571 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1577 /// PositionAxis constants.
1579 /// <since_tizen> 3 </since_tizen>
1580 public struct PositionAxis
1585 /// <since_tizen> 3 </since_tizen>
1586 public static Position X
1590 global::System.IntPtr cPtr = Interop.Vector3.XaxisGet();
1591 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1592 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1599 /// <since_tizen> 3 </since_tizen>
1600 public static Position Y
1604 global::System.IntPtr cPtr = Interop.Vector3.YaxisGet();
1605 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1606 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1613 /// <since_tizen> 3 </since_tizen>
1614 public static Position Z
1618 global::System.IntPtr cPtr = Interop.Vector3.ZaxisGet();
1619 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1620 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1625 /// The Negative X axis
1627 /// <since_tizen> 3 </since_tizen>
1628 public static Position NegativeX
1632 global::System.IntPtr cPtr = Interop.Vector3.NegativeXaxisGet();
1633 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1634 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1639 /// The Negative Y axis
1641 /// <since_tizen> 3 </since_tizen>
1642 public static Position NegativeY
1646 global::System.IntPtr cPtr = Interop.Vector3.NegativeYaxisGet();
1647 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1648 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1653 /// The Negative Z axis
1655 /// <since_tizen> 3 </since_tizen>
1656 public static Position NegativeZ
1660 global::System.IntPtr cPtr = Interop.Vector3.NegativeZaxisGet();
1661 Position ret = (cPtr == global::System.IntPtr.Zero) ? null : new Position(cPtr, false);
1662 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
1669 /// [Obsolete("Please do not use! this will be deprecated")]
1671 /// <since_tizen> 3 </since_tizen>
1672 [Obsolete("Please do not use! This will be deprecated! Please use PivotPoint instead!")]
1673 [EditorBrowsable(EditorBrowsableState.Never)]
1674 public struct AnchorPoint
1679 /// <since_tizen> 3 </since_tizen>
1680 public static float Top
1684 return PivotPoint.Top;
1690 /// <since_tizen> 3 </since_tizen>
1691 public static float Bottom
1695 return PivotPoint.Bottom;
1701 /// <since_tizen> 3 </since_tizen>
1702 public static float Left
1706 return PivotPoint.Left;
1712 /// <since_tizen> 3 </since_tizen>
1713 public static float Right
1717 return PivotPoint.Right;
1723 /// <since_tizen> 3 </since_tizen>
1724 public static float Middle
1728 return PivotPoint.Middle;
1734 /// <since_tizen> 3 </since_tizen>
1735 public static Position TopLeft
1739 return PivotPoint.TopLeft;
1745 /// <since_tizen> 3 </since_tizen>
1746 public static Position TopCenter
1750 return PivotPoint.TopCenter;
1756 /// <since_tizen> 3 </since_tizen>
1757 public static Position TopRight
1761 return PivotPoint.TopRight;
1767 /// <since_tizen> 3 </since_tizen>
1768 public static Position CenterLeft
1772 return PivotPoint.CenterLeft;
1778 /// <since_tizen> 3 </since_tizen>
1779 public static Position Center
1783 return PivotPoint.Center;
1789 /// <since_tizen> 3 </since_tizen>
1790 public static Position CenterRight
1794 return PivotPoint.CenterRight;
1800 /// <since_tizen> 3 </since_tizen>
1801 public static Position BottomLeft
1805 return PivotPoint.BottomLeft;
1811 /// <since_tizen> 3 </since_tizen>
1812 public static Position BottomCenter
1816 return PivotPoint.BottomCenter;
1822 /// <since_tizen> 3 </since_tizen>
1823 public static Position BottomRight
1827 return PivotPoint.BottomRight;
1833 /// Enumeration for setting cache model of a WebView.
1835 [EditorBrowsable(EditorBrowsableState.Never)]
1836 public enum CacheModel
1839 /// Use the smallest cache capacity.
1843 /// Use the bigger cache capacity than DocumentBrowser.
1847 /// Use the biggest cache capacity.
1853 /// Enumeration for setting cache model of a WebView.
1855 [EditorBrowsable(EditorBrowsableState.Never)]
1856 public enum CookieAcceptPolicy
1859 /// Accepts every cookie sent from any page.
1863 /// Rejects all the cookies.
1867 /// Accepts only cookies set by the main document that is loaded.
1873 /// FontSizeScale constant.
1875 /// <since_tizen> 9 </since_tizen>
1876 public struct FontSizeScale
1879 /// UseSystemSetting
1881 /// <since_tizen> 9 </since_tizen>
1882 public const float UseSystemSetting = -1.0f;
1886 /// Offset has left, right, bottom, top value.
1888 [EditorBrowsable(EditorBrowsableState.Never)]
1889 public struct Offset
1894 /// <param name="left">left offset</param>
1895 /// <param name="right">right offset</param>
1896 /// <param name="bottom">bottom offset</param>
1897 /// <param name="top">top offset</param>
1898 [EditorBrowsable(EditorBrowsableState.Never)]
1899 public Offset(int left, int right, int bottom, int top)
1910 [EditorBrowsable(EditorBrowsableState.Never)]
1911 public int Left {get; set;}
1916 [EditorBrowsable(EditorBrowsableState.Never)]
1917 public int Right {get; set;}
1922 [EditorBrowsable(EditorBrowsableState.Never)]
1923 public int Bottom {get; set;}
1928 [EditorBrowsable(EditorBrowsableState.Never)]
1929 public int Top {get; set;}
1934 /// TODO This is to get TizenFX resource path. It needs to be fixed to use application framework API in the future.
1935 /// Internal use only. Do not open this API.
1937 internal struct FrameworkInformation
1939 public readonly static string ResourcePath = "/usr/share/dotnet.tizen/framework/res/";
1943 /// This Enumeration is used the GLES version for EGL configuration.<br />
1944 /// If the device can not support GLES version 3.0 over, the version will be chosen with GLES version 2.0.<br />
1945 /// It is for GLWindow and GLView.<br />
1947 [EditorBrowsable(EditorBrowsableState.Never)]
1948 public enum GLESVersion
1951 /// GLES version 2.0
1953 [EditorBrowsable(EditorBrowsableState.Never)]
1957 /// GLES version 3.0
1959 [EditorBrowsable(EditorBrowsableState.Never)]
1964 /// Enumeration for rendering mode
1965 /// This Enumeration is used to choose the rendering mode.
1966 /// It has two options.
1967 /// One of them is continuous mode. It is rendered continuously.
1968 /// The other is on demand mode. It is rendered by application.
1969 /// It is for GLWindow and GLView.
1971 [EditorBrowsable(EditorBrowsableState.Never)]
1972 public enum GLRenderingMode
1977 [EditorBrowsable(EditorBrowsableState.Never)]
1981 /// on demand by application
1983 [EditorBrowsable(EditorBrowsableState.Never)]
1988 /// Enumeration for the type of InputFilter. <br />
1991 /// The type of InputFilter that is stored in the <see cref="Tizen.NUI.BaseComponents.InputFilteredEventArgs"/> when the input is filtered. <br />
1993 [EditorBrowsable(EditorBrowsableState.Never)]
1994 public enum InputFilterType
1997 /// The type of InputFilter is Accept.
1999 [EditorBrowsable(EditorBrowsableState.Never)]
2003 /// The type of InputFilter is Reject.
2005 [EditorBrowsable(EditorBrowsableState.Never)]
2010 /// Enumeration for the size type of font. <br />
2013 /// The size type of font used as a property of <see cref="Tizen.NUI.Text.TextFit"/>. <br />
2015 [EditorBrowsable(EditorBrowsableState.Never)]
2016 public enum FontSizeType
2021 [EditorBrowsable(EditorBrowsableState.Never)]
2027 [EditorBrowsable(EditorBrowsableState.Never)]
2034 /// A struct to pass data of InputFilter PropertyMap. <br />
2037 /// InputFilter filters input based on regular expressions. <br />
2038 /// Users can set the Accepted or Rejected regular expression set, or both. <br />
2039 /// If both are used, Rejected has higher priority. <br />
2040 /// The character set must follow the regular expression rules. <br />
2041 /// Behaviour can not be guaranteed for incorrect grammars. <br />
2042 /// Refer the link below for detailed rules. <br />
2043 /// The functions in std::regex library use the ECMAScript grammar: <br />
2044 /// http://cplusplus.com/reference/regex/ECMAScript/ <br />
2045 /// The InputFilter struct is used as an argument to SetInputFilter and GetInputFilter methods. <br />
2046 /// 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 />
2048 [EditorBrowsable(EditorBrowsableState.Never)]
2049 public struct InputFilter
2052 /// A regular expression in the set of characters to be accepted by the inputFilter.
2054 [EditorBrowsable(EditorBrowsableState.Never)]
2055 public string Accepted { get; set; }
2058 /// A regular expression in the set of characters to be rejected by the inputFilter.
2060 [EditorBrowsable(EditorBrowsableState.Never)]
2061 public string Rejected { get; set; }
2065 /// A struct to pass data of FontStyle PropertyMap. <br />
2068 /// The FontStyle struct is used as an argument to SetFontStyle and GetFontStyle methods. <br />
2069 /// 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 />
2071 [EditorBrowsable(EditorBrowsableState.Never)]
2072 public struct FontStyle
2075 /// The Width defines occupied by each glyph.
2077 [EditorBrowsable(EditorBrowsableState.Never)]
2078 public FontWidthType Width { get; set; }
2081 /// The Weight defines the thickness or darkness of the glyphs.
2083 [EditorBrowsable(EditorBrowsableState.Never)]
2084 public FontWeightType Weight { get; set; }
2087 /// The Slant defines whether to use italics.
2089 [EditorBrowsable(EditorBrowsableState.Never)]
2090 public FontSlantType Slant { get; set; }
2094 /// A struct to pass data of Underline PropertyMap. <br />
2097 /// The Underline struct is used as an argument to SetUnderline and GetUnderline methods. <br />
2098 /// 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 />
2100 [EditorBrowsable(EditorBrowsableState.Never)]
2101 public struct Underline
2104 /// Whether the underline is enabled (the default value is false).
2106 [EditorBrowsable(EditorBrowsableState.Never)]
2107 public bool Enable { get; set; }
2110 /// The color of the underline (if not provided then the color of the text is used).
2112 [EditorBrowsable(EditorBrowsableState.Never)]
2113 public Color Color { get; set; }
2116 /// The height in pixels of the underline (if null, the default value is 1.0f).
2118 [EditorBrowsable(EditorBrowsableState.Never)]
2119 public float? Height { get; set; }
2123 /// A struct to pass data of Shadow PropertyMap. <br />
2126 /// The Shadow struct is used as an argument to SetShadow and GetShadow methods. <br />
2127 /// 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 />
2129 [EditorBrowsable(EditorBrowsableState.Never)]
2130 public struct Shadow
2133 /// The color of the shadow (the default color is Color.Black).
2135 [EditorBrowsable(EditorBrowsableState.Never)]
2136 public Color Color { get; set; }
2139 /// The offset in pixels of the shadow (if null, the default value is 0, 0). <br />
2140 /// If not provided then the shadow is not enabled. <br />
2143 [EditorBrowsable(EditorBrowsableState.Never)]
2144 public Vector2 Offset { get; set; }
2147 /// The radius of the Gaussian blur for the soft shadow (if null, the default value is 0.0f). <br />
2148 /// If not provided then the soft shadow is not enabled. <br />
2150 [EditorBrowsable(EditorBrowsableState.Never)]
2151 public float? BlurRadius { get; set; }
2155 /// A struct to pass data of Outline PropertyMap. <br />
2158 /// The Outline struct is used as an argument to SetOutline and GetOutline methods. <br />
2159 /// 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 />
2161 [EditorBrowsable(EditorBrowsableState.Never)]
2162 public struct Outline
2165 /// The color of the outline (the default color is Color.White).
2167 [EditorBrowsable(EditorBrowsableState.Never)]
2168 public Color Color { get; set; }
2171 /// The width in pixels of the outline (if null, the default value is 0.0f). <br />
2172 /// If not provided then the outline is not enabled. <br />
2174 [EditorBrowsable(EditorBrowsableState.Never)]
2175 public float? Width { get; set; }
2179 /// A struct to pass data of TextFit PropertyMap. <br />
2182 /// The TextFit struct is used as an argument to SetTextFit and GetTextFit methods. <br />
2183 /// See <see cref="Tizen.NUI.BaseComponents.TextLabel.SetTextFit"/> and <see cref="Tizen.NUI.BaseComponents.TextLabel.GetTextFit"/>. <br />
2185 [EditorBrowsable(EditorBrowsableState.Never)]
2186 public struct TextFit
2189 /// True to enable the text fit or false to disable (the default value is false).
2191 [EditorBrowsable(EditorBrowsableState.Never)]
2192 public bool Enable { get; set; }
2195 /// Minimum Size for text fit (if null, the default value is 10.0f).
2197 [EditorBrowsable(EditorBrowsableState.Never)]
2198 public float? MinSize { get; set; }
2201 /// Maximum Size for text fit (if null, the default value is 100.0f).
2203 [EditorBrowsable(EditorBrowsableState.Never)]
2204 public float? MaxSize { get; set; }
2207 /// Step Size for font increase (if null, the default value is 1.0f).
2209 [EditorBrowsable(EditorBrowsableState.Never)]
2210 public float? StepSize { get; set; }
2213 /// The size type of font, PointSize or PixelSize (the default value is PointSize).
2215 [EditorBrowsable(EditorBrowsableState.Never)]
2216 public FontSizeType FontSizeType { get; set; }
2220 /// A struct to pass data of Placeholder PropertyMap. <br />
2223 /// The Placeholder struct is used as an argument to SetPlaceholder and GetPlaceholder methods. <br />
2224 /// 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 />
2226 [EditorBrowsable(EditorBrowsableState.Never)]
2227 public struct Placeholder
2230 /// The text to display when the TextField is empty and inactive.
2232 [EditorBrowsable(EditorBrowsableState.Never)]
2233 public string Text { get; set; }
2236 /// The text to display when the placeholder has focus.
2238 [EditorBrowsable(EditorBrowsableState.Never)]
2239 public string TextFocused { get; set; }
2242 /// The color of the placeholder text.
2244 [EditorBrowsable(EditorBrowsableState.Never)]
2245 public Color Color { get; set; }
2248 /// The FontFamily of the placeholder text.
2250 [EditorBrowsable(EditorBrowsableState.Never)]
2251 public string FontFamily { get; set; }
2254 /// The FontStyle of the placeholder text (if null, the text control FontStyle is used).
2256 [EditorBrowsable(EditorBrowsableState.Never)]
2257 public FontStyle? FontStyle { get; set; }
2260 /// The PointSize of the placeholder text. <br />
2261 /// Not required if PixelSize provided. <br />
2262 /// If both provided or neither provided then the text control point size is used. <br />
2264 [EditorBrowsable(EditorBrowsableState.Never)]
2265 public float? PointSize { get; set; }
2268 /// The PiexSize of the placeholder text.
2269 /// Not required if PointSize provided. <br />
2270 /// If both provided or neither provided then the text control point size is used. <br />
2272 [EditorBrowsable(EditorBrowsableState.Never)]
2273 public float? PixelSize { get; set; }
2276 /// The ellipsis of the placeholder text (the default value is false).
2278 [EditorBrowsable(EditorBrowsableState.Never)]
2279 public bool Ellipsis { get; set; }
2283 /// A struct to pass data of HiddenInputSettings PropertyMap. <br />
2286 /// The HiddenInput struct is used as an argument to SetHiddenInput and GetHiddenInput methods. <br />
2287 /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetHiddenInput"/> and <see cref="Tizen.NUI.BaseComponents.TextField.GetHiddenInput"/>. <br />
2289 [EditorBrowsable(EditorBrowsableState.Never)]
2290 public struct HiddenInput
2293 /// The mode for input text display. <br />
2295 [EditorBrowsable(EditorBrowsableState.Never)]
2296 public HiddenInputModeType Mode { get; set; }
2299 /// All input characters are substituted by this character (if null, the default value is '*'). <br />
2301 [EditorBrowsable(EditorBrowsableState.Never)]
2302 public char? SubstituteCharacter { get; set; }
2305 /// Length of text to show or hide, available when HideCount/ShowCount mode is used (if null, the default value is 0). <br />
2307 [EditorBrowsable(EditorBrowsableState.Never)]
2308 public int? SubstituteCount { get; set; }
2311 /// Hide last character after this duration, available when ShowLastCharacter mode (if null, the default value is 1000). <br />
2313 [EditorBrowsable(EditorBrowsableState.Never)]
2314 public int? ShowLastCharacterDuration { get; set; }
2318 /// A struct to pass data of SelectionHandleImageLeft, SelectionHandleImageRight, SelectionHandlePressedImageLeft, SelectionHandlePressedImageRight, SelectionHandleMarkerImageLeft and SelectionHandleMarkerImageRight PropertyMap. <br />
2321 /// The SelectionHandleImage struct is used as an argument to SetSelectionHandleImage, GetSelectionHandleImage methods, SetSelectionHandlePressedImage, GetSelectionHandlePressedImage, SetSelectionHandleMarkerImage and GetSelectionHandleMarkerImage. <br />
2322 /// See <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.SetSelectionHandleMarkerImage"/>, <see cref="Tizen.NUI.BaseComponents.TextField.GetSelectionHandleMarkerImage"/>, <br />
2323 /// <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandleImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandlePressedImage"/>, <see cref="Tizen.NUI.BaseComponents.TextEditor.SetSelectionHandleMarkerImage"/> and <see cref="Tizen.NUI.BaseComponents.TextEditor.GetSelectionHandleMarkerImage"/>. <br />
2325 [EditorBrowsable(EditorBrowsableState.Never)]
2326 public struct SelectionHandleImage
2329 /// The image path to display for the left selection handle. <br />
2330 /// It means the handle in the bottom-left. <br />
2331 /// If the handle needs to be displayed in the top-left, this image will be vertically flipped. <br />
2332 /// If null or empty string, it doesn't change the property. <br />
2334 [EditorBrowsable(EditorBrowsableState.Never)]
2335 public string LeftImageUrl { get; set; }
2338 /// The image path to display for the right selection handle. <br />
2339 /// It means the handle in the bottom-right. <br />
2340 /// If the handle needs to be displayed in the top-right, this image will be vertically flipped. <br />
2341 /// If null or empty string, it doesn't change the property. <br />
2343 [EditorBrowsable(EditorBrowsableState.Never)]
2344 public string RightImageUrl { get; set; }
2350 /// Pre-defined SlideTransition Direction
2352 [EditorBrowsable(EditorBrowsableState.Never)]
2353 public struct SlideTransitionDirection
2358 [EditorBrowsable(EditorBrowsableState.Never)]
2359 public static Vector2 Top
2363 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionTopGet();
2364 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2365 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2372 [EditorBrowsable(EditorBrowsableState.Never)]
2373 public static Vector2 Bottom
2377 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionBottomGet();
2378 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2379 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2387 [EditorBrowsable(EditorBrowsableState.Never)]
2388 public static Vector2 Right
2392 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionRightGet();
2393 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2394 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());
2402 [EditorBrowsable(EditorBrowsableState.Never)]
2403 public static Vector2 Left
2407 global::System.IntPtr cPtr = Interop.SlideTransitionDirection.SlideTransitionDirectionLeftGet();
2408 Vector2 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector2(cPtr, false);
2409 if (NDalicPINVOKE.SWIGPendingException.Pending) throw new InvalidOperationException("FATAL: get Exception", NDalicPINVOKE.SWIGPendingException.Retrieve());