[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.Styling.StyleManager.GetName

GetName Method

GetName(object, object)

Returns the saved style name that matches the specified value, used to show the current selection in the style UI.

Declaration
public static string GetName(object obj, object defaultValue = null)
Parameters
Type Name Description
object obj

The style value to identify.

object defaultValue

The value treated as the default; when null, a freshly created default for the object's type is used. If obj equals this default, ItemDefault is returned.

Returns
Type Description
string

The name under which the value was saved, ItemDefault if it matches the default, or ItemCustom if the value does not correspond to any saved style.