Select to view content in your preferred language

FeatureDataGrid Button Foreground and Customization

716
1
08-09-2011 09:59 AM
YaoMo2
by
Emerging Contributor
Hi,

I have a FeatureDataGrid that allow user to edit some attributes. All the functions are working properly. However, the background and foreground for the buttons at the bottom is not showing correctly.

Here's my xaml code:
                                <esri:FeatureDataGrid x:Name="SoilEdit_FeatureDataGrid"
                                                      IsReadOnly="False"
                                                      />

It is contained in a Telerik RadPane. I didn't set any foreground/background property for this FeatureDataGrid. The code behind simply set the data source:
                        SoilEdit_FeatureDataGrid.Map = Map;
                        SoilEdit_FeatureDataGrid.GraphicsLayer = f_soil;


But, the text on buttons is very difficult to see as shown on the attachment. Is there any way to change the color for buttons?

Also, I'd like to remove the "Zoom to Selection" and "Auto Zoom to Selected" function under "Options" button. Is there a way to customize it?
0 Kudos
1 Reply
JMcNeil
Deactivated User
Everything is super easy to customize in Expression Blend. Find the ResultsDispaly under USerControl
Click ResultsDisplay
CLick Grid
Click Board
Click Board
Click Grid
There you find the QueryDetailsDataGrid - right click create copy

Once in there you will work your way through a bunch of Grids and StackPanels until you find the submitChangeMenuButton click on that and then view the xaml code then just blast the two buttons/controls you don't want (Zoom to Selection" and "Auto Zoom to Selected" ).

ALso use blend to create your colors.  Blend is the solution

J
0 Kudos