This sample demonstrates one way of defining a UML Class Diagram. Note the use of a separate Panel for the properties and one for the methods, allowing for an item template for properties and a separate item template for methods.