Content Controls are mainly parent containers to hold the content. It displays information to the user to be viewed but that generally won't be modified.
With content controls, the following aspects:
- Property: A Property specifies the object's appearance or behavior. For example, the IsEnabled property specifies whether the user can interact with a control or not.
- Method: A Method is a routine that a control executes to perform something. For example Coa unt Method counts the number of items available for the object or control.
- Event: An event is related when a control raises one to let your application know that something has happened. For example TextBox raises a TextChanged event whenever its text changes.
Code Snippet
- <Button Name="btnAdd" Content="Add" Click="btnAdd_Click" />