Reputation: 42185
suppose I have the following XAML:
<Canvas Grid.Column="3" HorizontalAlignment="Right" >
<StackPanel Name="myStackPanel" Canvas.Left="80">
</StackPanel>
</Canvas>
How can I access/modify the Canvas.Left property of the StackPanel in code?
Simply writing
myStackPanel.Left // not a property of StackPanel
doesn't work
Upvotes: 0
Views: 3548