Mega Code Archive

 
Categories / C# / WPF
 

Property Element Syntax

<StackPanel xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">     <ScrollBar Name="scroll"                Orientation="Horizontal" Margin="24"                 Maximum="100" LargeChange="10" SmallChange="1" />     <Label HorizontalAlignment="Center">         <Label.Content>              <Binding ElementName="scroll" Path="Value" />         </Label.Content>     </Label> </StackPanel>