0
I’m looking to access a control in WPF to access the properties of it and modify.
However, I can’t find much approach to Wpf currently.
What I want to do, for example, is change the name of a
button
for any name.
XAML
<Button Content="Button" HorizontalAlignment="Left" VerticalAlignment="Top" Width="75" Margin="362,31,0,0" Height="20" Click="Button_Click" RenderTransformOrigin="0.5,0.5">
<Button.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform Angle="360.279"/>
<TranslateTransform/>
</TransformGroup>
</Button.RenderTransform>
At XAML.CS, I don’t know how to access Button.
Include your code
– Leandro Angelo
@Leandroangelo ok.
– sYsTeM