Register now or log in to join your professional community.
A content is an object which has the ability to contain other controls.
WPF sample:
<Button> <StackPanel> <Ellipse Height="40" Width="40" Fill="Blue"/> <TextBlock TextAlignment="Center">Button</TextBlock> </StackPanel></Button>
C# Code reference:
// Create a Button which contains a DateTime object as its content. Button objectContent = new Button(); DateTime dateTime1 = new DateTime(2004, 3, 4, 13, 6, 55); objectContent.Content = dateTime1;