به نام خدا سلام بر برنامه نویسان عزیز 😉 در این مطلب آموزش قرار دادن کنترلها (Label و TextBox و دکمه) درون WrapPanel در #C را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
تصاویر خروجی نهایی این کد:
کد قرار دادن کنترلها (Label و TextBox و دکمه) درون WrapPanel در #C :
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Fun with Panels!" Height="284" Width="323">
<WrapPanel Background="LightSteelBlue">
<Label Width="328" Height="27" FontSize="15">Information</Label>
<Label>A</Label>
<TextBox Width="193" Height="25"/>
<Label>B</Label>
<TextBox Name="txtColor" Width="193" Height="25"/>
<Label>C</Label>
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Fun with Panels!" Height="284" Width="323">
<WrapPanel Background="LightSteelBlue">
<Label Width="328" Height="27" FontSize="15">Information</Label>
<Label>A</Label>
<TextBox Width="193" Height="25"/>
<Label>B</Label>
<TextBox Name="txtColor" Width="193" Height="25"/>
<Label>C</Label>