Browse by Tags
All Tags » CellContentTemplate (RSS)
Showing page 1 of 4 (36 total posts)
-
I recently upgraded to 3.7 and still couldn't get this to work easily. I did eventually though but I think not through the ForeignKeyConfiguration property.
I had to jump through several hoops to get it working. Here is how I did it.
PARTIAL CollectionViewSource
<xcdg:DataGridCollectionViewSource ...
-
Our default viewer for images in CellContentTemplate gives the image all the place that it could get. In order to change that, you can redo the CellContentTemplate's DataTemplate.
Here's an example that redoes the cell content template to a String field that contains a URL to the image, it sets the StretchMode to ''None'' which simply stops ...
-
Hello,
I'm using ICustomTypeDescriptor to build a DataGridCollectionView, and bind it to a Datagrid (like in LargeDataSets).
Now, I want to style the columns (width, DataTemplate).
How can I do that ?
Thanks
-
I'm working on quite big project which extensively uses Xceed datagrid. So far we have set CellContentTemplate to make it possible to map integer codes stored in transaction tables to human readable descriptions (also stored in database, in dictionary tables). See line below:<xcdg:Column FieldName=''Country'' Title=''Country'' ...
-
The first textbox column for ''GL Code'' binds just fine and saves all edits. The second doesn't ''Deferred GL Code''. Does anyone know how to get the second to work like the first, or know a better way to do both?
Thanks, Ben
<wpfc:XceedGridExtended Grid.Row=''1'' Grid.Column=''0'' Grid.ColumnSpan=''3'' Name=''GLCodeGrid'' ...
-
We have a generic grid that is loaded with Columns at runtime.However I need to set the content template of items such as phone numbers.Is it possible to define the datatemplate in XAML then use it in the codebeind?<!-- XAML ->
<local:PhoneNumberConverter x:Key=''PhoneConverter'' /><DataTemplate ...
-
OK, I resolved the matter of hiding columns in the DetailDescription by simply adding the Browsable(false) attribute to the properties I don't wish to show.
However, I still need to apply a CellContentTemplate to my DataGridItemProperty objects in my DetailDescription. To clarify my question, I have the following DataGridControl defined ...
-
How to I Binding values from one column to another with using DataTemplate? In C#, not in XAML.
Code:
private void GenerateDataTemplates(int ColumnNumber){ var dt = new DataTemplate(); var spOuterFactory = new FrameworkElementFactory(typeof(StackPanel)); ...
-
I have a DataGridControl which is bound to an Observable collection. This is working fine and I see my generated columns and the cells are filled in just fine.Problem:Now I want to add an additional column whose sole purpose is to have cells that are themselves buttons or contain buttons so that the user can click the button and do ...
-
In my DataGridControl, I have defined Column objects for the columns of the master rows and DataGridItemProperty objects (like below) for the columns of the detail rows (PropertyDetailDescription in DataGridCollectionViewSource.DetailDescriptions).
<xcdg:DataGridItemProperty Name=''MyProp'' DataType=''{x:Type sys:Decimal}'' ...
1
|
|
|
|