Community
All Communities
Products
ArcGIS Pro
ArcGIS Survey123
ArcGIS Online
ArcGIS Enterprise
Data Management
ArcGIS Experience Builder
Geoprocessing
ArcGIS Web AppBuilder
ArcGIS Dashboards
ArcGIS Field Maps
ArcGIS Spatial Analyst
All Products Communities
Industries
Education
Water Resources
State & Local Government
Transportation
Gas and Pipeline
Water Utilities
Roads and Highways
Telecommunications
Natural Resources
Electric
Imagery and Remote Sensing Insights (IRIS) COP
All Industries Communities
Developers
Python
JavaScript Maps SDK
Native Maps SDKs
ArcGIS API for Python
ArcGIS Pro SDK
ArcObjects SDK
Developers - General
ArcGIS REST APIs and Services
ArcGIS Online Developers
Game Engine Maps SDKs
File Geodatabase API
All Developers Communities
Global
Comunidad Esri Colombia - Ecuador - Panamá
ArcGIS 開発者コミュニティ
Czech GIS
ArcNesia
Esri India
Europe
Comunidad GEOTEC
Asia Pacific
Americas
GeoDev Germany
ArcGIS Content - Esri Nederland
All Global Communities
All Communities
Developers
User Groups
Industries
Services
Community Resources
Global
Events
Learning
Networks
ArcGIS Topics
Products
View All Communities
ArcGIS Ideas
GIS Life
Community Resources
Community Help Documents
Community Blog
Community Feedback
Member Introductions
Community Ideas
All Community Resources
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show
only
|
Search instead for
Did you mean:
Cancel
Home
:
All Communities
:
Developers
:
ArcGIS API Silverlight (Retired)
:
ArcGIS API Silverlight Questions
:
ComboBoxStyle - SelectionChanged event does not fi...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Select to view content in your preferred language
Translate Now
ComboBoxStyle - SelectionChanged event does not fire
Subscribe
992
1
Jump to solution
06-29-2012 10:55 PM
by
JudyTroutwine
Regular Contributor
06-29-2012
10:55 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
I have included a ComboBoxStyle in FeatureDataForm Style as shown below. No error is raised; however, the event procedure is not called after making a selection in the combo box during operation. Is something else needed?
<Style x:Key="DFComboStyle" TargetType="ComboBox">
<Setter Property ="SelectedValue" >
<Setter.Value>
<ComboBox SelectionChanged="CommonName_SelectionChanged"/>
</Setter.Value>
</Setter>
<Setter Property="BorderBrush" Value="Aquamarine"/>
<Setter Property="FontWeight" Value="Bold"/>
</Style>
...
<Style x:Key="FeatureDataFormStyle1" TargetType="esri:FeatureDataForm">
<Setter Property ="ComboBoxStyle" Value="{StaticResource DFComboStyle}" />
<Setter Property="Background">
<Setter.Value>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FFF3F7FA" Offset="0"/>
<GradientStop Color="#FF4079D6" Offset="0.1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
...
Solved!
Go to Solution.
Tags
(2)
Tags:
silverlight
web_developers
Reply
0
Kudos
All Posts
Previous Topic
Next Topic
1 Solution
Accepted Solutions
by
JoeHershman
MVP Alum
06-30-2012
02:28 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Unfortunately in Silverlight you cannot set event handlers in Style (AFAIK).
Thanks,
-Joe
View solution in original post
Reply
0
Kudos
1 Reply
by
JoeHershman
MVP Alum
06-30-2012
02:28 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Unfortunately in Silverlight you cannot set event handlers in Style (AFAIK).
Thanks,
-Joe
Reply
0
Kudos
Post Reply