[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Chart.Styling.StyleManager.RemoveValue

RemoveValue Method

RemoveValue(Type, string)

Removes the named style saved for the specified element type, if present.

Declaration
public static void RemoveValue(Type type, string name)
Parameters
Type Name Description
Type type

The element type whose saved style is removed (only the type name is used).

string name

The name of the style to remove. Removing ItemDefault is ignored.

RemoveValue(string, object)

Removes the first saved style whose value equals the specified object, for the given element type. Use this overload when the value is known but its name is not.

Declaration
public static void RemoveValue(string typeName, object theObj)
Parameters
Type Name Description
string typeName

The name of the element type whose saved styles are searched.

object theObj

The style value to find and remove.