[]
        
(Showing Draft Content)

C1.Win.FlexReport.CustomFields.Maps.Util

Util Class

Miscellaneous map utility functions.

Inheritance
Util
Namespace: C1.Win.FlexReport.CustomFields.Maps
Assembly: C1.Win.FlexReport.CustomFields.4.8.dll
Syntax
public static class Util

Methods

Name Description
ColorToString(Color)
ContentToHorzVertAlign(ContentAlignment, out HorizontalAlignment, out VerticalAlignment)
FontToString(Font)
GenerateId()

Generates a unique sequence of 16 hex digits.

GetBool(object, bool)

Converts an object to a boolean value.

GetColor(object)

Converts an object to a System.Drawing.Color value.

GetDouble(object)

Converts an object to a double value.

GetDouble(object, double)

Converts an object to a double value.

GetIndex(object, out int)

Converts an object to an integer or a string that can be used as an index in a collection.

GetInt(object)

Converts an object to an integer value.

GetInt(object, int)

Converts an object to an integer value.

GetMarkerSize(MarkerShape, float)
GetReadOnlyAttribute(PropertyDescriptor)
GetReadOnlyAttribute(PropertyDescriptorCollection, string)
GetReadOnlyAttribute(object, string)
GetString(object)

Converts an object to a string value.

IsColorEmpty(Color)
IsNumericType(Type)

Tests whether the type is a numeric one.

IsSameColors(Color, Color)
SetBrowsableAttribute(PropertyDescriptor, bool)

NOTE: Property MUST HAVE [Browsable(...)] specified already (in source)!!! otherwise this blows things up majorly.

SetBrowsableAttribute(PropertyDescriptorCollection, string, bool)
SetBrowsableAttribute(object, string, bool)
SetReadOnlyAttribute(PropertyDescriptor, bool)

NOTE: Property MUST HAVE [ReadOnly(...)] specified already (in source)!!! otherwise this blows things up majorly.

SetReadOnlyAttribute(PropertyDescriptorCollection, string, bool)
SetReadOnlyAttribute(object, string, bool)
StringToColor(string)
StringToFont(string)