Select to view content in your preferred language

DrawMode.None on XAML

792
1
01-05-2011 03:05 AM
PLadd
by
Frequent Contributor
Is there any way to set this on the XAML page instead of code behind?

"MyDrawObject.DrawMode = DrawMode.None"
0 Kudos
1 Reply
PLadd
by
Frequent Contributor
Never mind.  I was under the impression that you couldn't have a button click and event trigger on same control:

<Button x:Name="btnMeasureLength" Content="Length" Click="btnMeasureLength_Click"  >
                                        <i:Interaction.Triggers>
                                            <i:EventTrigger EventName="Click">
                                                <esri:MeasureAction . . . . . .

. . . . but I guess you can because it works (for now)
0 Kudos