C# Class Smrf.NodeXL.ExcelTemplate.RunSetVisualAttributeCommandEventArgs

Provides information for the command that needs to be run when the user sets a visual attribute in the Ribbon.
See RunCommandEventArgs for information about how NodeXL sends commands from one UI object to another.

The first event handler that sets the specified visual attribute should set the VisualAttributeSet property to true, and other event handlers should then ignore the event.

Inheritance: RunCommandEventArgs
ファイルを表示 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_bVisualAttributeSet System.Boolean
m_eVisualAttribute VisualAttributes
m_oAttributeValue Object

Public Methods

Method Description
AssertValid ( ) : void
RunSetVisualAttributeCommandEventArgs ( VisualAttributes visualAttribute, Object attributeValue ) : System

Initializes a new instance of the class.

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

RunSetVisualAttributeCommandEventArgs() public method

Initializes a new instance of the class.
public RunSetVisualAttributeCommandEventArgs ( VisualAttributes visualAttribute, Object attributeValue ) : System
visualAttribute VisualAttributes /// Specifies the visual attribute to set. Must be only one of the flags /// in the enumeration; it cannot be an /// ORed combination. ///
attributeValue Object /// The visual attribute value, or null if the value isn't known yet and /// must be obtained from the user. ///
return System

Property Details

m_bVisualAttributeSet protected_oe property

protected Boolean,System m_bVisualAttributeSet
return System.Boolean

m_eVisualAttribute protected_oe property

protected VisualAttributes m_eVisualAttribute
return VisualAttributes

m_oAttributeValue protected_oe property

protected Object m_oAttributeValue
return Object