أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
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;