From a3cc62167104fddd331b5e44250e431d6f2f1341 Mon Sep 17 00:00:00 2001 From: Seungho Baek Date: Thu, 2 Jan 2025 12:09:33 +0900 Subject: [PATCH] [NUI] Adds version tag or Hides deprecated APIs Signed-off-by: Seungho Baek --- .../src/public/BaseComponents/CustomView.cs | 5 +++ .../public/BaseComponents/FlexContainer.cs | 32 +++++++++++++++ .../src/public/BaseComponents/ImageView.cs | 1 + .../src/public/BaseComponents/Scrollable.cs | 39 ++++++++++++++----- .../src/public/BaseComponents/TableView.cs | 2 + 5 files changed, 69 insertions(+), 10 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs b/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs index 4454995a18f..0cc03b6034d 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/CustomView.cs @@ -197,6 +197,7 @@ public virtual void OnInitialize() /// /// The depth in the hierarchy for the view. /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated since API8 and will be removed in API10. Use OnSceneConnection instead.")] public virtual void OnStageConnection(int depth) { @@ -208,6 +209,7 @@ public virtual void OnStageConnection(int depth) /// When the parent of a set of views is disconnected to the stage, then all of the children will receive this callback, starting with the leaf views.
/// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated since API8 and will be removed in API10. Use OnSceneDisconnection instead.")] public virtual void OnStageDisconnection() { @@ -382,6 +384,7 @@ public virtual float CalculateChildSize(View child, DimensionType dimension) /// Width to use /// The height based on the width /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API9 and will be removed in API11. Use HeightForWidth property instead.")] public new virtual float GetHeightForWidth(float width) { @@ -395,6 +398,7 @@ public virtual float CalculateChildSize(View child, DimensionType dimension) /// Height to use /// The width based on the width /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated since API9 and will be removed in API11. Use WidthForHeight property instead.")] public new virtual float GetWidthForHeight(float height) { @@ -448,6 +452,7 @@ public virtual void OnLayoutNegotiated(float size, DimensionType dimension) /// The StyleManager object. /// Information denoting what has changed. /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("Deprecated in API9, Will be removed in API11.")] public virtual void OnStyleChange(StyleManager styleManager, StyleChangeType change) { diff --git a/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs b/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs index 9e1e9fcc1fd..562c4cc8bf0 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/FlexContainer.cs @@ -28,6 +28,7 @@ namespace Tizen.NUI.BaseComponents /// FlexContainer can expand items to fill available free space, or shrink them to prevent overflow.
/// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public class FlexContainer : View { @@ -175,6 +176,7 @@ static FlexContainer() /// Calling member functions with an uninitialized handle is not allowed. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public FlexContainer() : this(Interop.FlexContainer.New(), true) { @@ -190,6 +192,7 @@ internal FlexContainer(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, /// the direction that flex items are laid out in the flex container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public enum FlexDirectionType { @@ -197,24 +200,28 @@ public enum FlexDirectionType /// The flexible items are displayed vertically as a column. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] Column, /// /// The flexible items are displayed vertically as a column, but in reverse order. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] ColumnReverse, /// /// The flexible items are displayed horizontally as a row. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] Row, /// /// The flexible items are displayed horizontally as a row. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] RowReverse } @@ -224,6 +231,7 @@ public enum FlexDirectionType /// and on which sides the ?�start??and ?�end??are. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public enum ContentDirectionType { @@ -231,18 +239,21 @@ public enum ContentDirectionType /// Inherits the same direction from the parent. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] Inherit, /// /// From left to right. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] LTR, /// /// From right to left. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] RTL } @@ -252,6 +263,7 @@ public enum ContentDirectionType /// space on the main axis. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public enum Justification { @@ -259,30 +271,35 @@ public enum Justification /// Items are positioned at the beginning of the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] JustifyFlexStart, /// /// Items are positioned at the center of the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] JustifyCenter, /// /// Items are positioned at the end of the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] JustifyFlexEnd, /// /// Items are positioned with equal space between the lines. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] JustifySpaceBetween, /// /// Items are positioned with equal space before, between, and after the lines. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] JustifySpaceAround } @@ -292,6 +309,7 @@ public enum Justification /// use all the available space on the cross axis. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public enum Alignment { @@ -299,30 +317,35 @@ public enum Alignment /// Inherits the same alignment from the parent (only valid for "alignSelf" property). /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] AlignAuto, /// /// At the beginning of the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] AlignFlexStart, /// /// At the center of the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] AlignCenter, /// /// At the end of the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] AlignFlexEnd, /// /// Stretch to fit the container. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] AlignStretch } @@ -332,6 +355,7 @@ public enum Alignment /// all the items on one flex line. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public enum WrapType { @@ -339,12 +363,14 @@ public enum WrapType /// Flex items laid out in single line (shrunk to fit the flex container along the main axis). /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] NoWrap, /// /// Flex items laid out in multiple lines if needed. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] Wrap } @@ -353,6 +379,7 @@ public enum WrapType /// The primary direction in which content is ordered. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public ContentDirectionType ContentDirection { @@ -385,6 +412,7 @@ public ContentDirectionType ContentDirection /// The direction of the main axis which determines the direction that flex items are laid out. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public FlexDirectionType FlexDirection { @@ -417,6 +445,7 @@ public FlexDirectionType FlexDirection /// Whether the flex items should wrap or not if there is no enough room for them on one flex line. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public WrapType FlexWrap { @@ -449,6 +478,7 @@ public WrapType FlexWrap /// The alignment of flex items when the items do not use all available space on the main axis. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public Justification JustifyContent { @@ -481,6 +511,7 @@ public Justification JustifyContent /// The alignment of flex items when the items do not use all available space on the cross axis. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public Alignment AlignItems { @@ -513,6 +544,7 @@ public Alignment AlignItems /// Similar to "alignItems", but it aligns flex lines; so only works when there are multiple lines. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API8 and will be removed in API10. Use FlexLayout instead.")] public Alignment AlignContent { diff --git a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs index 7d6cd765e6c..c39e3d778ec 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ImageView.cs @@ -698,6 +698,7 @@ public bool BorderOnly /// /// 3 [Obsolete("This has been deprecated since API9 and will be removed in API11. Use SynchronousLoading instead.")] + [EditorBrowsable(EditorBrowsableState.Never)] public bool SynchronosLoading { get diff --git a/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs b/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs index 046cd90f995..802edc44e53 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/Scrollable.cs @@ -27,12 +27,13 @@ namespace Tizen.NUI.BaseComponents /// (via touch) or automatically. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public class Scrollable : View { static Scrollable() { - if(NUIApplication.IsUsingXaml) + if (NUIApplication.IsUsingXaml) { OvershootEffectColorProperty = BindableProperty.Create(nameof(OvershootEffectColor), typeof(Vector4), typeof(Scrollable), null, propertyChanged: SetInternalOvershootEffectColorProperty, defaultValueCreator: GetInternalOvershootEffectColorProperty); @@ -40,7 +41,7 @@ static Scrollable() OvershootEnabledProperty = BindableProperty.Create(nameof(OvershootEnabled), typeof(bool), typeof(Scrollable), false, propertyChanged: SetInternalOvershootEnabledProperty, defaultValueCreator: GetInternalOvershootEnabledProperty); - OvershootSizeProperty = BindableProperty.Create(nameof(OvershootSize), typeof(Vector2), typeof(Scrollable), null, propertyChanged: SetInternalOvershootSizeProperty, defaultValueCreator: GetInternalOvershootSizeProperty ); + OvershootSizeProperty = BindableProperty.Create(nameof(OvershootSize), typeof(Vector2), typeof(Scrollable), null, propertyChanged: SetInternalOvershootSizeProperty, defaultValueCreator: GetInternalOvershootSizeProperty); ScrollToAlphaFunctionProperty = BindableProperty.Create(nameof(ScrollToAlphaFunction), typeof(int), typeof(Scrollable), default(int), propertyChanged: SetInternalScrollToAlphaFunctionProperty, defaultValueCreator: GetInternalScrollToAlphaFunctionProperty); @@ -114,7 +115,7 @@ internal static void SetInternalOvershootEnabledProperty(BindableObject bindable Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.OvershootEnabled, new Tizen.NUI.PropertyValue((bool)newValue)); } } - + internal static object GetInternalOvershootEnabledProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -136,7 +137,7 @@ internal static void SetInternalOvershootSizeProperty(BindableObject bindable, o Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.OvershootSize, new Tizen.NUI.PropertyValue((Vector2)newValue)); } } - + internal static object GetInternalOvershootSizeProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -150,7 +151,7 @@ internal static object GetInternalOvershootSizeProperty(BindableObject bindable) [Obsolete("This has been deprecated in API12")] public static readonly BindableProperty ScrollToAlphaFunctionProperty = null; - internal static void SetInternalScrollToAlphaFunctionProperty(BindableObject bindable, object oldValue, object newValue) + internal static void SetInternalScrollToAlphaFunctionProperty(BindableObject bindable, object oldValue, object newValue) { var scrollable = (Scrollable)bindable; if (newValue != null) @@ -158,7 +159,7 @@ internal static void SetInternalScrollToAlphaFunctionProperty(BindableObject bin Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.ScrollToAlphaFunction, new Tizen.NUI.PropertyValue((int)newValue)); } } - + internal static object GetInternalScrollToAlphaFunctionProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -180,7 +181,7 @@ internal static void SetInternalScrollRelativePositionProperty(BindableObject bi Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.ScrollRelativePosition, new Tizen.NUI.PropertyValue((Vector2)newValue)); } } - + internal static object GetInternalScrollRelativePositionProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -202,7 +203,7 @@ internal static void SetInternalScrollPositionMinProperty(BindableObject bindabl Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.ScrollPositionMin, new Tizen.NUI.PropertyValue((Vector2)newValue)); } } - + internal static object GetInternalScrollPositionMinProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -224,7 +225,7 @@ internal static void SetInternalScrollPositionMaxProperty(BindableObject bindabl Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.ScrollPositionMax, new Tizen.NUI.PropertyValue((Vector2)newValue)); } } - + internal static object GetInternalScrollPositionMaxProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -268,7 +269,7 @@ internal static void SetInternalCanScrollHorizontalProperty(BindableObject binda Tizen.NUI.Object.SetProperty((HandleRef)scrollable.SwigCPtr, Scrollable.Property.CanScrollHorizontal, new Tizen.NUI.PropertyValue((bool)newValue)); } } - + internal static object GetInternalCanScrollHorizontalProperty(BindableObject bindable) { var scrollable = (Scrollable)bindable; @@ -288,6 +289,7 @@ internal static object GetInternalCanScrollHorizontalProperty(BindableObject bin /// Create an instance of scrollable. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public Scrollable() : this(Interop.Scrollable.NewScrollable(), true) { @@ -311,6 +313,7 @@ internal Scrollable(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cM /// The ScrollStarted event emitted when the Scrollable has moved (whether by touch or animation). /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public event DaliEventHandler ScrollStarted { @@ -341,6 +344,7 @@ public event DaliEventHandler ScrollStarted /// The ScrollUpdated event emitted when the Scrollable has moved (whether by touch or animation). /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public event DaliEventHandler ScrollUpdated { @@ -372,6 +376,7 @@ public event DaliEventHandler ScrollUpdated /// (whether by touch or animation). /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public event DaliEventHandler ScrollCompleted { @@ -402,6 +407,7 @@ public event DaliEventHandler ScrollCompleted /// Sets and Gets the color of the overshoot effect. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public Vector4 OvershootEffectColor { @@ -434,6 +440,7 @@ public Vector4 OvershootEffectColor /// Sets and Gets the speed of overshoot animation in pixels per second. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public float OvershootAnimationSpeed { @@ -466,6 +473,7 @@ public float OvershootAnimationSpeed /// Checks if scroll overshoot has been enabled or not. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public bool OvershootEnabled { @@ -498,6 +506,7 @@ public bool OvershootEnabled /// Gets and Sets OvershootSize property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public Vector2 OvershootSize { @@ -530,6 +539,7 @@ public Vector2 OvershootSize /// Gets and Sets ScrollToAlphaFunction property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public int ScrollToAlphaFunction { @@ -562,6 +572,7 @@ public int ScrollToAlphaFunction /// Gets and Sets ScrollRelativePosition property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public Vector2 ScrollRelativePosition { @@ -594,6 +605,7 @@ public Vector2 ScrollRelativePosition /// Gets and Sets ScrollPositionMin property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public Vector2 ScrollPositionMin { @@ -626,6 +638,7 @@ public Vector2 ScrollPositionMin /// Gets and Sets ScrollPositionMax property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public Vector2 ScrollPositionMax { @@ -658,6 +671,7 @@ public Vector2 ScrollPositionMax /// Gets and Sets CanScrollVertical property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public bool CanScrollVertical { @@ -690,6 +704,7 @@ public bool CanScrollVertical /// Gets and Sets CanScrollHorizontal property. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public bool CanScrollHorizontal { @@ -744,6 +759,7 @@ internal ScrollableSignal ScrollCompletedSignal() /// /// DisposeTypes /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] protected override void Dispose(DisposeTypes type) { @@ -880,6 +896,7 @@ private float GetOvershootAnimationSpeed() /// The scroll animation started event arguments. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public class StartedEventArgs : EventArgs { @@ -906,6 +923,7 @@ public Vector2 Vector2 /// The scrollable updated event arguments. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public class UpdatedEventArgs : EventArgs { @@ -932,6 +950,7 @@ public Vector2 Vector2 /// The scroll animation completed event arguments. /// /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API12")] public class CompletedEventArgs : EventArgs { diff --git a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs index 72c86b0b77d..ae55fe2e5e1 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs @@ -499,6 +499,7 @@ public void Resize(uint rows, uint columns) /// /// Width and height. /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API9 and will be removed in API11. Use CellPadding property instead.")] public void SetCellPadding(Size2D padding) { @@ -511,6 +512,7 @@ public void SetCellPadding(Size2D padding) /// /// The current padding as width and height. /// 3 + [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("This has been deprecated in API9 and will be removed in API11. Use CellPadding property instead.")] public Vector2 GetCellPadding() {