Skip to content

Commit 2ba79ff

Browse files
Merge pull request #1343 from Syncfusion-Content/development
DOCINFRA-2341_merged_using_automation
2 parents 3edcc18 + cfbeed4 commit 2ba79ff

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1280
-389
lines changed

wpf-toc.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -995,18 +995,20 @@
995995
<ul>
996996
<li><a href="/wpf/Gantt/overview">Overview</a></li>
997997
<li><a href="/wpf/Gantt/getting-started">Getting Started</a></li>
998+
<li><a href="/wpf/Gantt/migrate-from-sftreegrid">Migrate from SfTreeGrid</a></li>
998999
<li><a href="/wpf/Gantt/data-binding">Data Binding</a></li>
9991000
<li><a href="/wpf/Gantt/dependency-relationship">Dependency Relationship</a></li>
10001001
<li><a href="/wpf/Gantt/auto-update-hierarchy">Auto Update Hierarchy</a></li>
10011002
<li><a href="/wpf/Gantt/baseline-support">Baseline Support</a></li>
1002-
<li><a href="/wpf/Gantt/customtooltip">CustomToolTip</a></li>
1003+
<li><a href="/wpf/Gantt/custom-tooltip">Custom ToolTip</a></li>
10031004
<li><a href="/wpf/Gantt/custom-schedule">Custom Schedule</a></li>
10041005
<li><a href="/wpf/Gantt/calendar-customization">Calendar Customization</a></li>
1005-
<li><a href="/wpf/Gantt/Holidays-Customization">Holidays Customization</a></li>
1006+
<li><a href="/wpf/Gantt/holidays-Customization">Holidays Customization</a></li>
10061007
<li><a href="/wpf/Gantt/zooming">Zooming</a></li>
1008+
<li><a href="/wpf/Gantt/drag-drop">Drag and Drop</a></li>
1009+
<li><a href="/wpf/Gantt/filtering-sorting">Filtering and Sorting</a></li>
10071010
<li><a href="/wpf/Gantt/highlighting-tasks">Highlighting Tasks</a></li>
10081011
<li><a href="/wpf/Gantt/custom-node-style">Custom Node Style</a></li>
1009-
<li><a href="/wpf/Gantt/visual-style">Visual Style</a></li>
10101012
<li><a href="/wpf/Gantt/datetime-indicator-customization">DateTime Indicator Customization</a></li>
10111013
<li><a href="/wpf/Gantt/resource-view-gantt-inline-items">Resource View Gantt Inline Items</a></li>
10121014
<li><a href="/wpf/Gantt/strip-lines">Strip Lines</a></li>

wpf/Control-Dependencies.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,9 @@ Syncfusion.Edit.WPF
375375
<tr>
376376
<td>
377377
Syncfusion.Gantt.WPF <br/>
378-
Syncfusion.Grid.WPF <br/>
379-
Syncfusion.GridCommon.WPF <br/>
378+
Syncfusion.SfGrid.WPF <br/>
379+
Syncfusion.Themes.MaterialLight.WPF <br/>
380+
Syncfusion.SfSkinManager.WPF <br/>
380381
Syncfusion.Shared.WPF <br/>
381382
Syncfusion.ProjIO.Base
382383
</td>

wpf/Diagram/Stencil/Appearance.md

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ The [`Title`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Sten
1919

2020
{% highlight xaml %}
2121
<!--Initialize the stencil-->
22-
<Stencil:Stencil x:Name="stencil" Title="Shapes">
22+
<stencil:Stencil x:Name="stencil" Title="Shapes">
2323
<!--Initialize the stencil categories-->
24-
<Stencil:Stencil.Categories>
25-
<Stencil:StencilCategoryCollection>
24+
<stencil:Stencil.Categories>
25+
<stencil:StencilCategoryCollection>
2626
<!--Specify the basic shapes category with a title and resource key-->
27-
<Stencil:StencilCategory Title="Basic Shapes" Keys="{StaticResource BasicShapes}"/>
28-
</Stencil:StencilCategoryCollection>
29-
</Stencil:Stencil.Categories>
30-
</Stencil:Stencil>
27+
<stencil:StencilCategory Title="Basic Shapes" Keys="{StaticResource BasicShapes}"/>
28+
</stencil:StencilCategoryCollection>
29+
</stencil:Stencil.Categories>
30+
</stencil:Stencil>
3131

3232
{% endhighlight %}
3333

@@ -52,15 +52,15 @@ The following code example explains how to add a title and its customization.
5252
</DataTemplate>
5353

5454
<!--Initialize the stencil-->
55-
<Stencil:Stencil x:Name="stencil" Title="Shapes" TitleTemplate="{StaticResource TitleTemplate}>
55+
<stencil:Stencil x:Name="stencil" Title="Shapes" TitleTemplate="{StaticResource TitleTemplate}>
5656
<!--Initialize the stencil categories-->
57-
<Stencil:Stencil.Categories>
58-
<Stencil:StencilCategoryCollection>
57+
<stencil:Stencil.Categories>
58+
<stencil:StencilCategoryCollection>
5959
<!--Specify the basic shapes category with a title and resource key-->
60-
<Stencil:StencilCategory Title="Basic Shapes" Keys="{StaticResource BasicShapes}"/>
61-
</Stencil:StencilCategoryCollection>
62-
</Stencil:Stencil.Categories>
63-
</Stencil:Stencil>
60+
<stencil:StencilCategory Title="Basic Shapes" Keys="{StaticResource BasicShapes}"/>
61+
</stencil:StencilCategoryCollection>
62+
</stencil:Stencil.Categories>
63+
</stencil:Stencil>
6464
{% endhighlight %}
6565
{% endtabs %}
6666

@@ -99,21 +99,21 @@ To specify the identifying name to that element, use the `Name` property of the
9999
{% tabs %}
100100

101101
{% highlight xaml %}
102-
<Stencil:Stencil x:Name="stencil" ExpandMode="ZeroOrMore">
103-
<Stencil:Stencil.SymbolSource>
104-
<Syncfusion:SymbolCollection>
105-
<Syncfusion:NodeViewModel Key="Basic Shapes" UnitHeight="100" UnitWidth="100" Name="Triangle" Shape="{StaticResource Triangle}"></Syncfusion:NodeViewModel>
106-
<Syncfusion:SymbolViewModel Symbol="User" Key="Image" Name="User"
102+
<stencil:Stencil x:Name="stencil" ExpandMode="ZeroOrMore">
103+
<stencil:Stencil.SymbolSource>
104+
<syncfusion:SymbolCollection>
105+
<syncfusion:NodeViewModel Key="Basic Shapes" UnitHeight="100" UnitWidth="100" Name="Triangle" Shape="{StaticResource Triangle}"></Syncfusion:NodeViewModel>
106+
<syncfusion:SymbolViewModel Symbol="User" Key="Image" Name="User"
107107
SymbolTemplate="{StaticResource symboltemplate}" />
108-
</Syncfusion:SymbolCollection>
109-
</Stencil:Stencil.SymbolSource>
110-
<Stencil:Stencil.SymbolGroups>
111-
<Stencil:SymbolGroups>
108+
</syncfusion:SymbolCollection>
109+
</stencil:Stencil.SymbolSource>
110+
<stencil:Stencil.SymbolGroups>
111+
<stencil:SymbolGroups>
112112
<!--Separate groups based on the key-->
113-
<Stencil:SymbolGroupProvider MappingName="Key" />
114-
</Stencil:SymbolGroups>
115-
</Stencil:Stencil.SymbolGroups>
116-
</Stencil:Stencil>
113+
<stencil:SymbolGroupProvider MappingName="Key" />
114+
</stencil:SymbolGroups>
115+
</stencil:Stencil.SymbolGroups>
116+
</stencil:Stencil>
117117

118118
{% endhighlight %}
119119

@@ -139,31 +139,31 @@ Please find the following code example.
139139
<Setter Property="BorderBrush" Value="Blue" />
140140
<Setter Property="Padding" Value="5"></Setter>
141141
</Style>
142-
<Stencil:Stencil x:Name="stencil" ExpandMode="ZeroOrMore">
143-
<Stencil:Stencil.SymbolSource>
144-
<Syncfusion:SymbolCollection>
145-
<Syncfusion:SymbolViewModel Symbol="User" Key="Image" Name="User"
142+
<stencil:Stencil x:Name="stencil" ExpandMode="ZeroOrMore">
143+
<stencil:Stencil.SymbolSource>
144+
<syncfusion:SymbolCollection>
145+
<syncfusion:SymbolViewModel Symbol="User" Key="Image" Name="User"
146146
SymbolTemplate="{StaticResource symboltemplate}" />
147-
<Syncfusion:SymbolViewModel Key="Template" Name="Diamond"
147+
<syncfusion:SymbolViewModel Key="Template" Name="Diamond"
148148
SymbolTemplate="{StaticResource Diamond}" >
149-
<Syncfusion:SymbolViewModel.Symbol>
149+
<syncfusion:SymbolViewModel.Symbol>
150150
<StackPanel Orientation="Vertical">
151151
<TextBlock FontSize="14" FontWeight="Bold" Foreground="Black" Text="Diamond" Margin="0,0,0,10">
152152
</TextBlock>
153153
<TextBlock FontStyle="Italic" FontSize="12" Foreground="Black" Text="Drag onto the Page">
154154
</TextBlock>
155155
</StackPanel>
156-
</Syncfusion:SymbolViewModel.Symbol>
157-
</Syncfusion:SymbolViewModel>
158-
</Syncfusion:SymbolCollection>
159-
</Stencil:Stencil.SymbolSource>
160-
<Stencil:Stencil.SymbolGroups>
161-
<Stencil:SymbolGroups>
156+
</syncfusion:SymbolViewModel.Symbol>
157+
</syncfusion:SymbolViewModel>
158+
</syncfusion:SymbolCollection>
159+
</stencil:Stencil.SymbolSource>
160+
<stencil:Stencil.SymbolGroups>
161+
<stencil:SymbolGroups>
162162
<!--Separate groups based on the key-->
163-
<Stencil:SymbolGroupProvider MappingName="Key" />
164-
</Stencil:SymbolGroups>
165-
</Stencil:Stencil.SymbolGroups>
166-
</Stencil:Stencil>
163+
<stencil:SymbolGroupProvider MappingName="Key" />
164+
</stencil:SymbolGroups>
165+
</stencil:Stencil.SymbolGroups>
166+
</stencil:Stencil>
167167
{% endhighlight %}
168168

169169
{% endtabs %}

wpf/Diagram/Stencil/ContextMenu.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,3 +185,46 @@ BasicStencil.SymbolSource = new SymbolCollection()
185185
![Symbol Custom ContextMenu](Stencil_images/SymbolsContextMenuItems.gif)
186186

187187
[View Sample in GitHub](https://github.com/SyncfusionExamples/WPF-Diagram-Examples/tree/master/Samples/Stencil/StencilContextMenu)
188+
189+
## Context menu for SymbolGroup in Stencil
190+
191+
You can use the [Menu](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroupViewModel.html#Syncfusion_UI_Xaml_Diagram_Stencil_SymbolGroupViewModel_Menu) property in the [SymbolGroupViewModel](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroupViewModel.html#Syncfusion_UI_Xaml_Diagram_Stencil_SymbolGroupViewModel_Symbols) class to specify menu for each [SymbolGroup](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.html) or use the [SymbolGroupMenu](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Stencil.Stencil.html#Syncfusion_UI_Xaml_Diagram_Stencil_Stencil_SymbolGroupMenu) property in the `Stencil` for use the same menu for all `SymbolGroups`.
192+
193+
{% highlight xaml %}
194+
195+
<syncfusion:Stencil x:Name="stencil11" Grid.Column="0" Grid.Row="1" ExpandMode="ZeroOrMore" BorderBrush="#dfdfdf" BorderThickness="1">
196+
<syncfusion:Stencil.SymbolGroups>
197+
<syncfusion:SymbolGroups>
198+
<syncfusion:SymbolGroupViewModel Name="Basic Shapes" CategorySource="{StaticResource BasicShapes}">
199+
<syncfusion:SymbolGroupViewModel.Menu>
200+
<syncfusion:DiagramMenu>
201+
<syncfusion:DiagramMenu.MenuItems>
202+
<local:DiagramMenuItems>
203+
<syncfusion:DiagramMenuItem Content="Delete" Icon="pack://application:,,,/Images/Delete.png"/>
204+
</local:DiagramMenuItems>
205+
</syncfusion:DiagramMenu.MenuItems>
206+
</syncfusion:DiagramMenu>
207+
</syncfusion:SymbolGroupViewModel.Menu>
208+
</syncfusion:SymbolGroupViewModel>
209+
<syncfusion:SymbolGroupViewModel Name="Flow Shapes" CategorySource="{StaticResource FlowShapes}"/>
210+
<syncfusion:SymbolGroupViewModel Name="Arrow Shapes" CategorySource="{StaticResource ArrowShapes}"/>
211+
<syncfusion:SymbolGroupViewModel Name="DataFlow Shapes" CategorySource="{StaticResource DataFlowShapes}"/>
212+
</syncfusion:SymbolGroups>
213+
</syncfusion:Stencil.SymbolGroups>
214+
<syncfusion:Stencil.SymbolGroupMenu>
215+
<syncfusion:DiagramMenu>
216+
<syncfusion:DiagramMenu.MenuItems>
217+
<local:DiagramMenuItems>
218+
<syncfusion:DiagramMenuItem Content="Move Up" Icon="pack://application:,,,/Images/Arrow Up -03.png" ></syncfusion:DiagramMenuItem>
219+
<syncfusion:DiagramMenuItem Content="Move Down" Icon="pack://application:,,,/Images/Road-Backward.png" ></syncfusion:DiagramMenuItem>
220+
</local:DiagramMenuItems>
221+
</syncfusion:DiagramMenu.MenuItems>
222+
</syncfusion:DiagramMenu>
223+
</syncfusion:Stencil.SymbolGroupMenu>
224+
</syncfusion:Stencil>
225+
226+
{% endhighlight %}
227+
228+
![SymbolGroupMenu and Menu](Stencil_images/MenuandSymbolGroupMenu.gif)
229+
230+
[View Sample in GitHub](https://github.com/SyncfusionExamples/WPF-Diagram-Examples/tree/master/Samples/Stencil/SymbolGroupViewModel/SymbolGroupsWithContextMenu)

0 commit comments

Comments
 (0)