ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.ART.Forms Namespace > Custom Mark Property Window |
To implement a custom property window for the custom mark, the user must override the GetPropertiesWindow method in the custom mark edit controller. Annotator calls this method when the “Properties” menu item is selected in the Annotator UI, and passes a mark for which property window is requested, and a current ImGearPageView object. In overridden method the user must create a Form-derived window which will display and modify mark’s properties. Please refer to SectorPropertyWindow class in ART sample.
It is not necessary to implement your property window for custom mark, if you are not going to use it. If edit controller returns null instead of form, the annotator doen not display anything.