<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://xceed.com/CS/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'Columns'</title><link>http://xceed.com/CS/search/SearchResults.aspx?o=DateDescending&amp;tag=Columns&amp;orTags=0</link><description>Search results matching tag 'Columns'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Debug Build: 61120.2)</generator><item><title>Create Dynamic Columns via Collection in ViewModel</title><link>http://xceed.com/CS/forums/post/29615.aspx</link><pubDate>Mon, 17 Jan 2011 09:16:10 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:29615</guid><dc:creator>Raphael</dc:creator><description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I need my columns in my DataGridControl dynamically created via a collection in my viewmodel. Unfortunately I cannot bind the "Columns" property of the DataGridControl to an property in my viewmodel.&lt;/P&gt;&lt;P&gt;How can I achieve this dynamic creation?&lt;/P&gt;&lt;P&gt;greets&lt;/P&gt;</description></item><item><title>CellEditor.EditTemplate is disposed when not in focus?</title><link>http://xceed.com/CS/forums/post/24952.aspx</link><pubDate>Mon, 23 Nov 2009 11:58:15 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24952</guid><dc:creator>Amir</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;In our project we have created a custom ComboBox enabling multiselection and other options such as search filtering (i.e pressing 'ab' on our custom ComboBox will show all values with 'ab' within them). Among other thing it holds additional properties such as search filtering type (prefix, exact match, etc.)&lt;br&gt;&lt;/p&gt;&lt;p&gt;We use the Xceed Datagrid where our custom ComboBox is the CellEditor.EditTemplate and the Column.CellContentTemplate is a Textblock binded to show the corresponding value in the ComboBox.&lt;/p&gt;&lt;p&gt;The issue is: &lt;/p&gt;&lt;ol&gt;&lt;li&gt;A user is within the ComboBox, selects the search filtering type (via context menu on right click) then leaves the combobox (which in turn shows the Textblock). When the user returns to the same ComboBox the search type returns to default value and not the value the user selected. It seems that the DataGrid releases or disposes of the ComboBox when the user leaves it and then creates it again when the user returns. I do not see a way to get passed this issue since the ComboBox is disposed \ released and the value of the filter type is lost.&lt;/li&gt;&lt;li&gt;In the same manner it seems that when entering and leaving the ComboBox the SelectionChanged event fires when leaving the combo and when entering it. (again because of the dispose \ release)&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;I would appreciate a little more insight as to how the Datagrid handles the CellEditor and perhaps even a suggestion on how to avoid these issues.&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Amir &lt;br&gt;&lt;/p&gt;</description></item><item><title>Xceed Cell/Column Behaviour</title><link>http://xceed.com/CS/forums/post/24406.aspx</link><pubDate>Sat, 10 Oct 2009 05:32:10 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24406</guid><dc:creator>paras</dc:creator><description>Hello,&lt;br&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Xceed Team,&lt;br&gt;&lt;br&gt;&lt;br&gt;I am using the Xceed Grid for the inline Editing. &amp;nbsp;&lt;br&gt;Now we are having the requirement , while editing the row ,&lt;br&gt;•&amp;nbsp;&amp;nbsp; &amp;nbsp;Some cells in the row are read only,&lt;br&gt;•&amp;nbsp;&amp;nbsp; &amp;nbsp;Some cells are required fields&lt;br&gt;•&amp;nbsp;&amp;nbsp; &amp;nbsp;Some cells are non- required &lt;br&gt;&lt;br&gt;Now, we are able to achieve the validation and also specifying the read only in the Column level.&lt;br&gt;But, we want to distinguish&amp;nbsp; the cell based on the 3 types of cell as specified above using different color at cell level.&lt;br&gt;&lt;br&gt;&lt;br&gt;For exa:&amp;nbsp;&amp;nbsp; EID is read only cell/column , then I want Light Orange Color for that particular cell.&lt;br&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Address is non-required fields, then I want White Color for that particular cell.&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; EName is required fields, then I want Yellow Color for that particular cell.&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;br&gt;&lt;br&gt;I have to implement the above requirement, in the Xceed Grid whenever the Row is in Edit Mode.&lt;br&gt;&lt;br&gt;Kindly tell us how to achieve the same.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Paras Sanghani&lt;br&gt;&lt;br&gt;</description></item><item><title>Dynamic Column Title and transpose of Column/Rows</title><link>http://xceed.com/CS/forums/post/24073.aspx</link><pubDate>Tue, 22 Sep 2009 13:25:07 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:24073</guid><dc:creator>Sivasankar</dc:creator><description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I need to populate the column header/ title dynamically in Xceed DataGrid Control. Please&amp;nbsp;help me out.&lt;/P&gt;
&lt;P&gt;Here is the sample scenario.&lt;/P&gt;
&lt;P&gt;ID Year&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Value&lt;/P&gt;
&lt;P&gt;1&amp;nbsp;&amp;nbsp; 2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;
&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 21&lt;/P&gt;
&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;22&lt;/P&gt;
&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 23&lt;/P&gt;
&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp; 2008&amp;nbsp;&amp;nbsp;&amp;nbsp; 24&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;
&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009&amp;nbsp;&amp;nbsp;&amp;nbsp; 21&lt;/P&gt;
&lt;P&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp; 2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;22&lt;/P&gt;
&lt;P&gt;Here i need to show 2008 and 2009 as header for the column and display the value as rows. Is this scenario achievable in&amp;nbsp;Xceed DataGrid Control.&lt;/P&gt;
&lt;P&gt;Thanks in Advance.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Siva&lt;/P&gt;</description></item><item><title>UnBound Column having the virtulization problem</title><link>http://xceed.com/CS/forums/post/23500.aspx</link><pubDate>Tue, 25 Aug 2009 05:38:57 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:23500</guid><dc:creator>paras</dc:creator><description>
            
                
                
                
                    
                        
                            &amp;nbsp;&lt;p&gt;&amp;lt;xcdg:DataGridControl&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x:Name="myGrid"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:DataGridControl.Columns&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:Column FieldName="Shade" Title="Shade of My Car"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:Column FieldName="Cost" Title="Price"/&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:Column FieldName="&lt;strong&gt;&lt;u&gt;ThePropertyThatNeverExist&lt;/u&gt;&lt;/strong&gt;"&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xcdg:Column.CellContentTemplate&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DataTemplate&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;CheckBox &amp;gt;&amp;lt;/CheckBox&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/DataTemplate&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xcdg:Column.CellContentTemplate&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xcdg:Column&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xcdg:DataGridControl.Columns&amp;gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xcdg:DataGridControl&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using above code but for the same but when user scrolls down
the grid it resets the values of ChecBoxes as mentioned above due to
virtual rows. I want know that if i dont want to use virtulization by Default then how can i do that? Is there any property for the same.&lt;br&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;&lt;/p&gt;</description></item><item><title>Binding Column to Multiple Values?</title><link>http://xceed.com/CS/forums/post/21912.aspx</link><pubDate>Tue, 23 Jun 2009 09:47:57 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:21912</guid><dc:creator>richard</dc:creator><description>&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Hi,&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp;In the following simple example I want to set the foreground based on another member in my class&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;class : Person,&amp;nbsp; Properties Name,Age (assuming i'll use a converter to get a colour based on the age)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;xcdg&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Column&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt; FieldName&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="Name"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt; Title&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="name"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt; Width&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="*"&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;xcdg&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Column.CellContentTemplate&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;DataTemplate&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;TextBlock&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt;HorizontalAlignment&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="Right"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000 size=2&gt;&lt;FONT color=#ff0000 size=2&gt; Text&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="{&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Binding&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;}" &lt;FONT color=#ff0000&gt;Foreground&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;="?????????????????"&lt;/FONT&gt;&lt;/FONT&gt;/&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;DataTemplate&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;xcdg&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Column.CellContentTemplate&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;xcdg&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;:&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;&lt;FONT color=#a31515 size=2&gt;Column&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;I can't simply use "{Binding Age, Converter={StaticResource myAgeToColourConverter}}"&amp;nbsp; as it cant find this property..&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;How can i achieve this simple effect, and also, if I wanted to do this for all columns in the row is there an easier way (Declaratively preferred)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;many thanks&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item><item><title>Conditional Binding (One way or Two way)</title><link>http://xceed.com/CS/forums/post/21852.aspx</link><pubDate>Mon, 22 Jun 2009 04:37:55 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:21852</guid><dc:creator>Aseem</dc:creator><description>&lt;P&gt;I&amp;nbsp;am very&amp;nbsp;new to WPF/Xceed and have a&amp;nbsp;very basic question. :)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using DataGrid Control in my application to display a collection of objects. I want one column of my grid to be editable depending upon the type of Object. If Object is of type A, the column should be editable and if object of type B, then it should not be. &lt;/P&gt;
&lt;P&gt;Here is the relevant column which I am talking about. &lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;XceedDataGrid:DataGridControl.Columns&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;XceedDataGrid:Column FieldName="Name"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisplayMemberBinding="{Binding Name, Mode=TwoWay, ValidatesOnDataErrors=True}"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CellEditor="{StaticResource NameEditor}"&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TitleTemplate="{StaticResource EmptyTitleTemplate}"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/XceedDataGrid:Column&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/XceedDataGrid:DataGridControl.Columns&amp;gt;&lt;BR&gt;&lt;/P&gt;&lt;/EM&gt;
&lt;P&gt;In the above code, as I am using Twoway Binding, the column is becoming editable for both objects and If I use 1 way binding, it becomes read-only for both. I dont know how to put this conditional binding on the column. &lt;/P&gt;
&lt;P&gt;Please help!!&lt;/P&gt;</description></item><item><title>AutoCreateColumns=true + Setting Column width</title><link>http://xceed.com/CS/forums/post/20779.aspx</link><pubDate>Thu, 07 May 2009 09:38:09 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:20779</guid><dc:creator>Jerome</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;I use the DataGrid with the AutoCreateColumns property set to true.&lt;/p&gt;&lt;p&gt;I would like to set all my columns' width to a fixed value but I can't find how.&lt;/p&gt;&lt;p&gt;Here is what I've done so far :&lt;/p&gt;&lt;p&gt;[XAML] &lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;        &amp;lt;xcdg:DataGridControl x:Name="myDataGrid"&lt;/p&gt;&lt;p&gt;                              ReadOnly="False"&lt;/p&gt;&lt;p&gt;                              NavigationBehavior="CellOnly"&lt;/p&gt;&lt;p&gt;                              CellEditorDisplayConditions="MouseOverCell"&lt;/p&gt;&lt;p&gt;                              ItemScrollingBehavior="Immediate"&lt;/p&gt;&lt;p&gt;                              HorizontalAlignment="Stretch"&lt;/p&gt;&lt;p&gt;                              AutoCreateColumns="True"&lt;/p&gt;&lt;p&gt;                              ItemsSource="{Binding Source={StaticResource dataGridSource}}"&lt;/p&gt;&lt;p&gt;                              Loaded="myDataGrid_Loaded"&lt;/p&gt;&lt;p&gt;                              MaxWidth="500"&lt;/p&gt;&lt;p&gt;                              Margin="10"&gt;&lt;/p&gt;&lt;p&gt;[/XAML] &lt;/p&gt;&lt;p&gt;[CODE]&lt;/p&gt;&lt;p&gt;         private void myDataGrid_Loaded(object sender, RoutedEventArgs e)&lt;/p&gt;&lt;p&gt;        {&lt;/p&gt;&lt;p&gt;            foreach (Column column_l in myDataGrid.Columns)&lt;/p&gt;&lt;p&gt;            {&lt;/p&gt;&lt;p&gt;                column_l.Width = 25;&lt;/p&gt;&lt;p&gt;            }&lt;/p&gt;&lt;p&gt;        }&lt;/p&gt;&lt;p&gt;[/CODE] &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;The problem is that when I enter the myDataGrid_Loaded() method, myDataGrid.Columns.Count = 0...&lt;/p&gt;&lt;p&gt;Is this normal ?&lt;/p&gt;&lt;p&gt;Where should I call the method that change my columns' width ?&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Thanks. &lt;/p&gt;</description></item><item><title>DataGridControl.CurrentColumn changed</title><link>http://xceed.com/CS/forums/post/20473.aspx</link><pubDate>Wed, 22 Apr 2009 19:34:20 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:20473</guid><dc:creator>Robert</dc:creator><description>&lt;P&gt;Good Afternoon!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm using version 3.1 of the DataGrid for WPF.&amp;nbsp; I have an issue where I need a TextBox editor&amp;nbsp;to commit it's changes to the datasource when the user exits the current cell (which works when DataGridControl.UpdateSourceTrigger = DataGridUpdateSourceTrigger.CellEndingEdit), but I also need a checkbox editor to commit it's changes to the datasource as soon as the user clicks on the checkbox (which works when DataGridControl.UpdateSourceTrigger = DataGridUpdateSourceTrigger.CellContentChanged).&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; The only way I imagine this situation working is if I dynamically set the UpdateSourceTrigger property of the datagrid when the current column changes.&amp;nbsp; However, the DataGridControl.CurrentColumn is not a dependency property, so I can't add a value changed&amp;nbsp;handler to it.&amp;nbsp; There doesn't appear to be any sort of event that would help me accomplish what I'm looking for either.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Have any ideas what would help me accomplish what I'm trying to do?&amp;nbsp; Any examples would help!&lt;/P&gt;</description></item><item><title>Capturing Click event of Button in a DataCell using MVVM</title><link>http://xceed.com/CS/forums/post/19536.aspx</link><pubDate>Mon, 23 Mar 2009 19:42:43 GMT</pubDate><guid isPermaLink="false">14592c03-f9d0-4f6b-b4cd-71e0e1b1f679:19536</guid><dc:creator>Shailesh</dc:creator><description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button. &lt;/P&gt;
&lt;P&gt;Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel. &lt;/P&gt;
&lt;P&gt;How can this be achieved. I thought of RoutedEvents / RoutedCommands but they need some entry in the Code Behind file. &lt;/P&gt;
&lt;P&gt;This I want to eliminate. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;Requesting you to please help on the same. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards&lt;/P&gt;
&lt;P&gt;SSA.&lt;/P&gt;</description></item></channel></rss>