Browse by Tags
All Tags » Templates (RSS)
Showing page 1 of 2 (11 total posts)
-
this little project has a collection of items that have a Boolean property on them, if the property is false data triggert are used in the style to set the background of the cell red, if it is true the property is green.
i would have posted the entire project but i can't work out how to attach files. if anyone could tell me how it would be much ...
-
Hi,
I am trying to replace the default appearance of the ColumnMangerCell by providing a ContentTemplate. The code looks like this:
<Style TargetType=''{x:Type xcdg:ColumnManagerCell}''>
<!--<EventSetter Event=''MouseDown'' Handler=''Column_MouseDown'' /> does not work why?-->
<EventSetter ...
-
Hi,
I am trying to create a TableView as resource to have a common place which I can change all the related grids in my application without the need to go to each separate xaml file and copy&past the changes.
When I try to do so I have encounter the problem of attaching the same view to multiple grid, which is not allowed.
I have found this ...
-
Hi Dustyn,
As far as making a cell enabled or disabled (ReadOnly) at runtime, the following example will definitely suit your requirements. But to change a cell's EditTemplate at runtime does not seems to be an easy task as EditTemplate property belongs to the entire column and not just a single cell.
Anywayz have a look at the following example ...
-
What are valid attribute of TextInputActivationGesture as in KeyActivationGesture there are 'Key'. How can I edit DateTimeTextBox in Xceedgrid without deleting full cell values. e.g. Suppose that we have to edit value 07 like: 07/12/2008 12:00 AM, then there is only option to edit in cell that we have to select 07/12/2008 ...
-
I have a combobox in the TitleTemplate of a grid. When a button click event fires, I want to loop through all of the comboboxes created by the TitleTemplate (x:Name=''ThisComboBox'' in the XAML below). Can you please tell me how access these comboboxes in the code-behind? (The XAML is listed below):
<xcdg:DataGridControl ...
-
I'm converting to the WPF DataGrid from the .Net WinForms version. The transition is killing me!
One thing I've noticed right away is the GroupByHeader grouped value displays the underlying bound data, rather than the content from the CellContentTemplate. I'm running across this with the ComboBox using the DataTableDictionary examples.
The ...
-
Hi,
Is there any way out to acheive a see through effect in DataGrid? I mean, I want to place a background image, and on top of it I'm placing my DataGrid. How can then I set my rows' or entire grid's background as transparent?
We can anytime set the background of DataRow as transparent, but still something (probably the container of ...
-
You can create a style that targets ColumnManagerCell in which you change either the cell's ControlTemplate (Template property) or the cell's data's DataTemplate (ContentTemplate property).
You can retrieve the template from the themes folder located in the installation folder.
-
You could create an implicit DataTemplate in your resources for the desired type. For example:
<DataTemplate DataType=''{x:Type s:DateTime}''> <Button> <TextBlock Text=''{Binding}'' /> </Button></DataTemplate>
1
|
|
|
|