MaxCustomControls::NumericSuffixBatchHandler Class Reference


Detailed Description

This class is used to handle properties which need to be handled specially during batch edit.

When trying to set a new string value to all the selected nodes' registered properties, the handler will add an increment numeric suffix to the new string value before setting each node's corresponding property value. Renaming multiple nodes in SceneExplorer is an example.

List of all members.

Public Member Functions

void  HandleExplorerCellValueChanged (object sender, ExplorerCellValueChangedEventArgs e)
  A handler of ExplorerCellValueChanged Event.
void  RegisterProperty (PropertyDescriptor property)
  Register a property which need be handled by this class during batch edit.

Member Function Documentation

void MaxCustomControls::NumericSuffixBatchHandler::HandleExplorerCellValueChanged ( object  sender,
ExplorerCellValueChangedEventArgs  e 
) [inline]

A handler of ExplorerCellValueChanged Event.

When batch editing all the selected nodes' registered properties, it will add an increment numeric suffix to the new string value before setting each node's property value.

To use this handler, client should create an instance of this class, register the corresponding properties and attach this method to an ExplorerControl's ExplorerCellValueChanged Event.

void MaxCustomControls::NumericSuffixBatchHandler::RegisterProperty ( PropertyDescriptor  property ) [inline]

Register a property which need be handled by this class during batch edit.


MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler
MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler MaxCustomControls::NumericSuffixBatchHandler