Retrieves the data currently associated with this button. This can be whatever the user wants. NOTE: When Using the Microsoft WinForms IDE, only Strings may be entered using the property browser. Outside the IDE, any Object derived type may, of course, be used.
[Visual Basic] Public Property ItemData As Object [C#] public object ItemData {get; set;} [C++] public: __property Object* get_ItemData(); public: __property void set_ItemData(Object*); [JScript] public function get ItemData() : Object; public function set ItemData(Object);
ToolBarButton Class | ToolBarButton Members | System.WinForms Namespace