<< Click to Display Table of Contents >> NShape Reference
|
Sets the preview styles to a preview shape.
protected virtual void SetPreviewStyles(IShape previewShape) |
A class with style properties of its own must override this method. The implementation calls the base class implementation and then sets the preview style for all its own styles to the passed shape. This is necessary for the preview shapes to be displayed correctly on the screen e.g. during a move operation.
The framework will call this function only when a DisplayService is available.