res/nui_component_default_slider_thumb_n.png #common #mobile #mobile-emul #tv #wearable
res/nui_component_default_dropdown_button_icon.png #common #mobile #mobile-emul #tv #wearable
res/nui_component_default_dropdown_list_bg.png #common #mobile #mobile-emul #tv #wearable
+res/nui_component_default_pagination_focus_dot.png #common #mobile #mobile-emul #tv #wearable
+res/nui_component_default_pagination_normal_dot.png #common #mobile #mobile-emul #tv #wearable
res/nui_wearable_checkbox_icon.json #wearable
res/nui_wearable_radiobutton_icon.json #wearable
res/nui_wearable_switch_icon.json #wearable
LoadingSize = new Size(100, 100)
};
}
+
+ protected override PaginationStyle GetPaginationStyle()
+ {
+ return new PaginationStyle
+ {
+ IndicatorImageURL = new Selector<string>()
+ {
+ Normal = StyleManager.GetFrameworkResourcePath("nui_component_default_pagination_normal_dot.png"),
+ Selected = StyleManager.GetFrameworkResourcePath("nui_component_default_pagination_focus_dot.png"),
+ },
+ };
+ }
}
}
LoadingSize = new Size(360, 360)
};
}
+
+ protected override PaginationStyle GetPaginationStyle()
+ {
+ return new PaginationStyle
+ {
+ IndicatorImageURL = new Selector<string>()
+ {
+ Normal = StyleManager.GetFrameworkResourcePath("nui_component_default_pagination_normal_dot.png"),
+ Selected = StyleManager.GetFrameworkResourcePath("nui_component_default_pagination_focus_dot.png"),
+ },
+ };
+ }
}
}
styleMap.Add(typeof(Tab), GetTabStyle);
styleMap.Add(typeof(Toast), GetToastStyle);
styleMap.Add(typeof(Loading), GetLoadingStyle);
+ styleMap.Add(typeof(Pagination), GetPaginationStyle);
}
internal delegate ViewStyle ComponentStyleGetter();
protected abstract ToastStyle GetToastStyle();
protected abstract LoadingStyle GetLoadingStyle();
+
+ protected abstract PaginationStyle GetPaginationStyle();
}
}
/// <since_tizen> 8 </since_tizen>
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public CircularPagination(string style) : base(style)
- {
- Initialize();
- }
-
- /// <summary>
- /// Creates a new instance of a CircularPagination using style.
- /// </summary>
- /// <since_tizen> 8 </since_tizen>
- /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
- [EditorBrowsable(EditorBrowsableState.Never)]
public CircularPagination(CircularPaginationStyle style) : base(style)
{
Initialize();
/// <since_tizen> 8 </since_tizen>
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
- public CircularPaginationStyle() : base() { }
+ public CircularPaginationStyle() : base()
+ {
+ Initialize();
+ }
/// <summary>
/// Creates a new instance of a CircularPaginationStyle using style.
}
}
}
+
+ private void Initialize()
+ {
+ IndicatorImageURL = new Selector<string>()
+ {
+ Normal = "/usr/share/dotnet.tizen/framework/res/" + "nui_component_default_pagination_normal_dot.png",
+ Selected = "/usr/share/dotnet.tizen/framework/res/" + "nui_component_default_pagination_focus_dot.png",
+ };
+ }
}
}