From 780b329c586ca3c8d48de9d79b97a8d3c0f9bdb2 Mon Sep 17 00:00:00 2001 From: Jiyun Yang Date: Fri, 26 Jun 2020 13:55:49 +0900 Subject: [PATCH] [NUI] Hide NUI.Component.StyleManager (#1749) Signed-off-by: Jiyun Yang --- src/Tizen.NUI.Components/Utils/StyleManager.cs | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/Tizen.NUI.Components/Utils/StyleManager.cs b/src/Tizen.NUI.Components/Utils/StyleManager.cs index afc5386..40d3e68 100755 --- a/src/Tizen.NUI.Components/Utils/StyleManager.cs +++ b/src/Tizen.NUI.Components/Utils/StyleManager.cs @@ -15,6 +15,7 @@ * */ using System; +using System.ComponentModel; using System.Collections.Generic; using Tizen.NUI.BaseComponents; @@ -23,7 +24,7 @@ namespace Tizen.NUI.Components /// /// StyleManager is a class to manager all style. /// - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public sealed class StyleManager { internal const float PointSizeNormal = 12; @@ -61,7 +62,7 @@ namespace Tizen.NUI.Components /// /// An event for the theme changed signal which can be used to subscribe or unsubscribe the event handler provided by the user.
///
- /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public event EventHandler ThemeChangedEvent { add @@ -77,13 +78,13 @@ namespace Tizen.NUI.Components /// /// StyleManager static instance. /// - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public static StyleManager Instance { get; } = new StyleManager(); /// /// Style theme. /// - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public string Theme { get @@ -110,7 +111,7 @@ namespace Tizen.NUI.Components /// Theme. /// Style type. /// Flag to decide if it is default style. - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public void RegisterStyle(string style, string theme, Type styleType, bool bDefault = false) { if (style == null) @@ -149,7 +150,7 @@ namespace Tizen.NUI.Components /// /// Style name. /// The style corresponding to style name . - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public ViewStyle GetViewStyle(string style) { if (style == null) @@ -175,7 +176,7 @@ namespace Tizen.NUI.Components /// The target theme name to register a component style. It theme should be a known one. /// The type of ComponentStyle /// The derived class of StyleBase - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public void RegisterComponentStyle(string targetTheme, Type component, Type style) { if (targetTheme == null || component == null || style == null) @@ -209,7 +210,7 @@ namespace Tizen.NUI.Components /// /// The type of component /// The style of the component. - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public ViewStyle GetComponentStyle(Type component) { if (componentStyleByTheme.ContainsKey(currentThemeName) && componentStyleByTheme[currentThemeName].ContainsKey(component)) @@ -223,13 +224,13 @@ namespace Tizen.NUI.Components /// /// ThemeChangeEventArgs is a class to record theme change event arguments which will sent to user. /// - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public class ThemeChangeEventArgs : EventArgs { /// /// CurrentTheme /// - /// 8 + [EditorBrowsable(EditorBrowsableState.Never)] public string CurrentTheme; } -- 2.7.4