Skip to content

ES-949556 Need to resolve the WPF UG mistakes #1726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: hotfix/hotfix-v29.1.33
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions wpf/Multi-Column-DropDown/Data-Binding.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Data Binding in WPF Multi Column Dropdown control | Syncfusion®
description: Learn here all about Data Binding support in Syncfusion® WPF Multi Column Dropdown (SfMultiColumnDropDown) control and more.
title: Data Binding in WPF Multi Column Dropdown control | Syncfusion
description: Learn here all about Data Binding support in Syncfusion WPF Multi Column Dropdown (SfMultiColumnDropDown) control and more.
platform: wpf
control: SfMultiColumnDropDownControl
documentation: ug
Expand All @@ -19,25 +19,25 @@ You can populate the drop down list for SfMultiColumnDropDownControl by setting
<RowDefinition Height="400" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<syncfusion:SfMultiColumnDropDownControl x:Name=sfMultiColumn
Width=175
Height=”30”
<syncfusion:SfMultiColumnDropDownControl x:Name="sfMultiColumn"
Width="175"
Height="30"
Grid.Row="0"
SelectedIndex=”0”
DisplayMember=Title
ValueMember=OrderID
ItemsSource={Binding Orders} />
SelectedIndex="0"
DisplayMember="Title"
ValueMember="OrderID"
ItemsSource="{Binding Orders}" />
<StackPanel Grid.Row="1" Margin="100,0,0,0">
<TextBlock FontSize="16" Text="SelectedItem (Display Member) " />
<TextBlock FontSize="22"
FontWeight="Bold"
Text="{Binding ElementName= sfMultiColumn,
Text="{Binding ElementName= sfMultiColumn,
Mode=TwoWay,
Path=SelectedItem.Title}" />
<TextBlock FontSize="16" Text="SelectedValue (Value Member) " />
<TextBlock FontSize="22"
FontWeight="Bold"
Text="{Binding ElementName= sfMultiColumn,
Text="{Binding ElementName= sfMultiColumn,
Mode=TwoWay,
Path=SelectedValue}" />
</StackPanel>
Expand All @@ -58,19 +58,19 @@ Binding with complex properties

{% tabs %}
{% highlight xaml %}
<syncfusion:SfMultiColumnDropDownControl x:Name=sfMultiColumn
Width=175
Height=”30”
SelectedIndex=”0”
AutoGenerateColumns=false
DisplayMember=ProductDetails.ProductID
ValueMember=ProductDetails.ProductID
ItemsSource={Binding Orders}>
<syncfusion:SfMultiColumnDropDownControl x:Name="sfMultiColumn"
Width="175"
Height="30"
SelectedIndex="0"
AutoGenerateColumns="false"
DisplayMember="ProductDetails.ProductID"
ValueMember="ProductDetails.ProductID"
ItemsSource="{Binding Orders}">
<syncfusion:SfMultiColumnDropDownControl.Columns>
<syncfusion:GridTextColumn MappingName=OrderID />
<syncfusion:GridTextColumn MappingName=ProductDetails.ProductID />
<syncfusion:GridTextColumn MappingName=CustomerID />
<syncfusion:GridTextColumn MappingName=Country />
<syncfusion:GridTextColumn MappingName="OrderID" />
<syncfusion:GridTextColumn MappingName="ProductDetails.ProductID" />
<syncfusion:GridTextColumn MappingName="CustomerID" />
<syncfusion:GridTextColumn MappingName="Country" />
</syncfusion:SfMultiColumnDropDownControl.Columns>
</syncfusion:SfMultiColumnDropDownControl>
{% endhighlight %}
Expand All @@ -82,19 +82,19 @@ Binding with indexer properties

{% tabs %}
{% highlight xaml %}
<syncfusion:SfMultiColumnDropDownControl x:Name=sfMultiColumn
Width=175
Height=”30”
SelectedIndex=”0”
AutoGenerateColumns=false
DisplayMember=Country[0]
ValueMember=Country[0]
ItemsSource={Binding Orders}>
<syncfusion:SfMultiColumnDropDownControl x:Name="sfMultiColumn"
Width="175"
Height="30"
SelectedIndex="0"
AutoGenerateColumns="false"
DisplayMember="Country[0]"
ValueMember="Country[0]"
ItemsSource="{Binding Orders}">
<syncfusion:SfMultiColumnDropDownControl.Columns>
<syncfusion:GridTextColumn MappingName=OrderID />
<syncfusion:GridTextColumn MappingName=ProductID />
<syncfusion:GridTextColumn MappingName=CustomerID />
<syncfusion:GridTextColumn MappingName=Country[0] />
<syncfusion:GridTextColumn MappingName="OrderID" />
<syncfusion:GridTextColumn MappingName="ProductID" />
<syncfusion:GridTextColumn MappingName="CustomerID" />
<syncfusion:GridTextColumn MappingName="Country[0]" />
</syncfusion:SfMultiColumnDropDownControl.Columns>
</syncfusion:SfMultiColumnDropDownControl>
{% endhighlight %}
Expand Down
18 changes: 9 additions & 9 deletions wpf/Multi-Column-DropDown/Editing-and-AutoComplete.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Editing and AutoComplete in WPF Multi Column Dropdown | Syncfusion®
description: Learn here all about Editing and AutoComplete support in Syncfusion® WPF Multi Column Dropdown (SfMultiColumnDropDown) control and more.
title: Editing and AutoComplete in WPF Multi Column Dropdown | Syncfusion
description: Learn here all about Editing and AutoComplete support in Syncfusion WPF Multi Column Dropdown (SfMultiColumnDropDown) control and more.
platform: wpf
control: SfMultiColumnDropDownControl
documentation: ug
Expand Down Expand Up @@ -115,14 +115,14 @@ You can access the text displayed in the Textbox by using [SfMultiColumnDropDown
<ColumnDefinition Width="400" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<syncfusion:SfMultiColumnDropDownControl x:Name=sfmultiColumn
Width=175
Height=”30”
<syncfusion:SfMultiColumnDropDownControl x:Name="sfmultiColumn"
Width="175"
Height="30"
Grid.Column="0"
SelectedIndex=”0”
DisplayMember=Cast
ValueMember=Title
ItemsSource={Binding Orders} />
SelectedIndex="0"
DisplayMember="Cast"
ValueMember="Title"
ItemsSource="{Binding Orders}" />
<StackPanel Grid.Column="1" Margin="0,100,0,0">
<TextBlock FontSize="16" Text="MultiColumnDropDownControl text " />
<TextBlock FontSize="22"
Expand Down
92 changes: 46 additions & 46 deletions wpf/Multi-Column-DropDown/Getting-Started.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Getting Started with WPF Multi Column Dropdown control | Syncfusion®
description: Learn here about getting started with Syncfusion® WPF Multi Column Dropdown (SfMultiColumnDropDown) control, its elements and more details.
title: Getting Started with WPF Multi Column Dropdown control | Syncfusion
description: Learn here about getting started with Syncfusion WPF Multi Column Dropdown (SfMultiColumnDropDown) control, its elements and more details.
platform: wpf
control: SfMultiColumnDropDownControl
documentation: ug
Expand Down Expand Up @@ -48,7 +48,7 @@ Syncfusion.Data.WPF assembly contains fundamental and base classes for Collectio
Syncfusion.SfGrid.WPF
</td>
<td>
Syncfusion.SfGrid.WPF assembly contains classes that handles all UI operations of SfMultiColumnDropDownControl, DropDownGrid. SfMultiColumnDropDownControl control present in Syncfusion.UI.Xaml.Grid namespace. This namespace also added in <b>http://schemas.syncfusion.com/wpf</b> Syncfusion<sup>®</sup> WPF schema.
Syncfusion.SfGrid.WPF assembly contains classes that handles all UI operations of SfMultiColumnDropDownControl, DropDownGrid. SfMultiColumnDropDownControl control present in Syncfusion.UI.Xaml.Grid namespace. This namespace also added in <b>http://schemas.syncfusion.com/wpf</b> Syncfusion<sup></sup> WPF schema.
</td>
</tr>
</table>
Expand Down Expand Up @@ -85,20 +85,20 @@ In order to add control manually in XAML, do the below steps,
1. Add the below required assembly references to the project,
* Syncfusion.Data.WPF
* Syncfusion.SfGrid.WPF
2. Import Syncfusion<sup>®</sup> WPF schema **http://schemas.syncfusion.com/wpf** or SfMultiColumnDropDownControl namespace **Syncfusion.UI.Xaml.Grid** in XAML page.
2. Import Syncfusion<sup></sup> WPF schema **http://schemas.syncfusion.com/wpf** or SfMultiColumnDropDownControl namespace **Syncfusion.UI.Xaml.Grid** in XAML page.
3. Declare `SfMultiColumnDropDownControl` in XAML page.

{% capture codesnippet1 %}
{% tabs %}
{% highlight xaml %}
<Window
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
xmlns:syncfusion=http://schemas.syncfusion.com/wpf
x:Class=WpfApplication1.MainWindow
Title=MainWindow Height=350 Width=525>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
x:Class="WpfApplication1.MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid>
<syncfusion:SfMultiColumnDropDownControl x:Name=sfmultiColumn/>
<syncfusion:SfMultiColumnDropDownControl x:Name="sfmultiColumn"/>
</Grid>
</Window>
{% endhighlight %}
Expand Down Expand Up @@ -224,16 +224,16 @@ public class ViewModel

private void GenerateOrders()
{
_orders.Add(new OrderInfo(1001, Maria Anders”, “Germany”, “ALFKI”, “Berlin));
_orders.Add(new OrderInfo(1002, Ana Trujilo”, “Mexico”, “ANATR”, “Mexico D.F.));
_orders.Add(new OrderInfo(1003, Antonio Moreno”, “Mexico”, “ANTON”, “Mexico D.F.));
_orders.Add(new OrderInfo(1004, Thomas Hardy”, “UK”, “AROUT”, “London));
_orders.Add(new OrderInfo(1005, Christina Berglund”, “Sweden”, “BERGS”, “Lula));
_orders.Add(new OrderInfo(1006, Hanna Moos”, “Germany”, “BLAUS”, “Mannheim));
_orders.Add(new OrderInfo(1007, Frederique Citeaux”, “France”, “BLONP”, “Strasbourg));
_orders.Add(new OrderInfo(1008, Martin Sommer”, “Spain”, “BOLID”, “Madrid));
_orders.Add(new OrderInfo(1009, Laurence Lebihan”, “France”, “BONAP”, “Marseille));
_orders.Add(new OrderInfo(1010, Elizabeth Lincoln”, “Canada”, “BOTTM”, “Tsawassen));
_orders.Add(new OrderInfo(1001, "Maria Anders", "Germany", "ALFKI", "Berlin"));
_orders.Add(new OrderInfo(1002, "Ana Trujilo", "Mexico", "ANATR", "Mexico D.F."));
_orders.Add(new OrderInfo(1003, "Antonio Moreno", "Mexico", "ANTON", "Mexico D.F."));
_orders.Add(new OrderInfo(1004, "Thomas Hardy", "UK", "AROUT", "London"));
_orders.Add(new OrderInfo(1005, "Christina Berglund", "Sweden", "BERGS", "Lula"));
_orders.Add(new OrderInfo(1006, "Hanna Moos", "Germany", "BLAUS", "Mannheim"));
_orders.Add(new OrderInfo(1007, "Frederique Citeaux", "France", "BLONP", "Strasbourg"));
_orders.Add(new OrderInfo(1008, "Martin Sommer", "Spain", "BOLID", "Madrid"));
_orders.Add(new OrderInfo(1009, "Laurence Lebihan", "France", "BONAP", "Marseille"));
_orders.Add(new OrderInfo(1010, "Elizabeth Lincoln", "Canada", "BOTTM", "Tsawassen"));
}
}
{% endhighlight %}
Expand All @@ -249,22 +249,22 @@ Bind the collection created in previous step to `ItemsSource` property by settin
{% tabs %}
{% highlight xaml %}
<Window
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
xmlns:syncfusion=http://schemas.syncfusion.com/wpf
x:Class=WpfApplication1.MainWindow
xmlns:local=clr-namespace:WpfApplication1
Title=MainWindow Height=350 Width=525>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
x:Class="WpfApplication1.MainWindow"
xmlns:local="clr-namespace:WpfApplication1"
Title="MainWindow" Height="350" Width="525">
<Window.DataContext>
<local:ViewModel/>
</Window.DataContext>
<Grid x:Name=Root_Grid>
<syncfusion:SfMultiColumnDropDownControl x:Name=sfMultiColumn
ItemsSource={Binding Orders}
DisplayMember=OrderID
Width=175
Height=”30”
SelectedIndex=”2”/>
<Grid x:Name="Root_Grid">
<syncfusion:SfMultiColumnDropDownControl x:Name="sfMultiColumn"
ItemsSource="{Binding Orders}"
DisplayMember="OrderID"
Width="175"
Height="30"
SelectedIndex="2"/>
</Grid>
</Window>
{% endhighlight %}
Expand All @@ -287,26 +287,26 @@ By default, the SfMultiColumnDropDownControl generates the columns automatically

{% tabs %}
{% highlight xaml %}
<syncfusion:SfMultiColumnDropDownControl x:Name=sfMultiColumn
Width=175
Height=”30”
SelectedIndex=”0”
AutoGenerateColumns=false
DisplayMember=OrderID
ItemsSource={Binding Orders}>
<syncfusion:SfMultiColumnDropDownControl x:Name="sfMultiColumn"
Width="175"
Height="30"
SelectedIndex="0"
AutoGenerateColumns="false"
DisplayMember="OrderID"
ItemsSource="{Binding Orders}">
<syncfusion:SfMultiColumnDropDownControl.Columns>
<syncfusion:GridTextColumn MappingName=OrderID />
<syncfusion:GridTextColumn MappingName=CustomerID />
<syncfusion:GridTextColumn MappingName=Country />
<syncfusion:GridTextColumn MappingName="OrderID" />
<syncfusion:GridTextColumn MappingName="CustomerID" />
<syncfusion:GridTextColumn MappingName="Country" />
</syncfusion:SfMultiColumnDropDownControl.Columns>
</syncfusion:SfMultiColumnDropDownControl>
{% endhighlight %}
{% highlight c# %}
SfMultiColumnDropDownControl sfMultiColumn = new SfMultiColumnDropDownControl();
sfMultiColumn.AutoGenerateColumns = false;
sfMultiColumn.Columns.Add(new GridTextColumn() { MappingName = OrderID });
sfMultiColumn.Columns.Add(new GridTextColumn() { MappingName = CustomerID });
sfMultiColumn.Columns.Add(new GridTextColumn() { MappingName = Country });
sfMultiColumn.Columns.Add(new GridTextColumn() { MappingName = "OrderID" });
sfMultiColumn.Columns.Add(new GridTextColumn() { MappingName = "CustomerID" });
sfMultiColumn.Columns.Add(new GridTextColumn() { MappingName = "Country" });
{% endhighlight %}
{% endtabs %}

Expand Down
6 changes: 3 additions & 3 deletions wpf/TreeGrid/Column-Sizing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: post
title: Column Sizing in WPF TreeGrid control | Syncfusion®
description: Learn here all about Column Sizing support in Syncfusion® WPF TreeGrid (SfTreeGrid) control and more.
title: Column Sizing in WPF TreeGrid control | Syncfusion
description: Learn here all about Column Sizing support in Syncfusion WPF TreeGrid (SfTreeGrid) control and more.
platform: wpf
control: SfTreeGrid
documentation: ug
Expand Down Expand Up @@ -50,8 +50,8 @@ While setting the `TreeGrid.ColumnSizer` property, all column widths are calcula
<td>
<code>AutoFillColumn</code>
</td>
While setting the `TreeGrid.ColumnSizer` property, all column widths are calculated based on content of cell and the last column fills the remaining column width as auto fill. And possible to set any column to fill the remaining space instead of last column by setting `TreeGridColumn.ColumnSizer` as `AutoFillColumn` for that particular column.
<td>
While setting the `TreeGrid.ColumnSizer` property, all column widths are calculated based on content of cell and the last column fills the remaining column width as auto fill. And possible to set any column to fill the remaining space instead of last column by setting `TreeGridColumn.ColumnSizer` as `AutoFillColumn` for that particular column.
</td>
</tr>
<tr>
Expand Down