[]
        
(Showing Draft Content)

C1.Win.RulesManager.C1RulesManager

C1RulesManager Class

The C1RulesManager control allows to create or edit conditional formatting rules. Conditional formatting is used to highlight important information and make data interpretation easier.

Inheritance
C1RulesManager
Namespace: C1.Win.RulesManager
Assembly: C1.Win.RulesManager.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1RulesManager), "C1RulesManager.png")]
public class C1RulesManager : XViewHost, ISupportInitialize, IExtenderProvider

Constructors

Name Description
C1RulesManager()

Initializes a new instance of the C1RulesManager.

Properties

Name Description
BackColor

Gets or sets the background color for the control.

BackgroundImage

Gets or sets the background image displayed in the control.

BackgroundImageLayout

Gets or sets the background image layout as defined in the ImageLayout enumeration.

DefaultSize

Gets the default size of the control.

Options

Gets or sets IViewOptions object that represents additional appearance parameters.

Rules

Gets or sets the conditional formatting rules.

ShowToolTips

Gets or sets whether the C1RulesManager should display tooltips.

Styles

Gets or sets RulesManagerStyles C1RulesManager styles.

Methods

Name Description
BeginInit()
BeginUpdate()

Maintains performance while updating the object by preventing all events until the EndUpdate method is called.

Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.Control and its child controls and optionally releases the managed resources.

EndInit()
EndUpdate()

Resumes events after suspended by BeginUpdate method.

GetC1RulesManager(object)

Gets the C1RulesManager that will apply conditional formatting for this object.

LoadRules(Stream)

Loads the Rules definition from a Stream.

LoadRules(string)

Loads the Rules definition from an XML file.

LoadRules(XmlReader)

Loads the Rules definition from an XmlReader.

OnBeforeTooltipShow(BeforeTooltipShowEventArgs)

Rises the BeforeTooltipShow event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

OnRulesChanged(ListChangedEventArgs)

Raises the RulesChanged event.

SaveRules(Stream)

Saves the Rules definition into a Stream.

SaveRules(string)

Saves the Rules definition into an XML file.

SaveRules(XmlWriter)

Saves the Rules definition into an XmlWriter.

SetC1RulesManager(object, C1RulesManager)

Sets the C1RulesManager that will apply conditional formatting for this object.

ShowAboutBox()

Shows the About Box for an instance of C1RulesManager.

WndProc(ref Message)

Events

Name Description
BeforeTooltipShow

Occurs before a tooltip is shown.

RulesChanged

Occurs when the rules or an item in the rules changes.