diff --git a/wpf-toc.html b/wpf-toc.html index c7c0d84b2..552bb131d 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1740,7 +1740,7 @@
  • How to
  • diff --git a/wpf/Diagram/Annotation/DefineAnnotation.md b/wpf/Diagram/Annotation/DefineAnnotation.md index 30fc2d32b..5001805cb 100644 --- a/wpf/Diagram/Annotation/DefineAnnotation.md +++ b/wpf/Diagram/Annotation/DefineAnnotation.md @@ -129,7 +129,7 @@ You can add any number of annotations to a node or connector. {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() diff --git a/wpf/Diagram/Annotation/Events.md b/wpf/Diagram/Annotation/Events.md index 083a0f61f..013bde539 100644 --- a/wpf/Diagram/Annotation/Events.md +++ b/wpf/Diagram/Annotation/Events.md @@ -12,7 +12,7 @@ documentation: ug The [AnnotationChanged](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.IGraphInfo.html#Syncfusion_UI_Xaml_Diagram_IGraphInfo_AnnotationChanged) event will notify the annotation related actions and value changes. The [AnnotationChangedEventArgs](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.AnnotationChangedEventArgs.html) class is used to get or set the entire annotation related properties and their values. {% tabs %} -{% highlight C# %} +{% highlight c# %} //Register the AnnotationChanged event (diagram.Info as IGraphInfo).AnnotationChanged += Diagram_AnnotationChanged; diff --git a/wpf/Diagram/Annotation/Interaction/Dragging.md b/wpf/Diagram/Annotation/Interaction/Dragging.md index 08dbfa569..89c335e93 100644 --- a/wpf/Diagram/Annotation/Interaction/Dragging.md +++ b/wpf/Diagram/Annotation/Interaction/Dragging.md @@ -27,7 +27,7 @@ Dragging an annotation can be enabled by using the [`Constraints`](https://help. {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -67,7 +67,7 @@ Diagram allows you to specify the amount of dragging area around the annotation {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the AnnotationCollection Annotations = new ObservableCollection() diff --git a/wpf/Diagram/Annotation/Interaction/Rotating.md b/wpf/Diagram/Annotation/Interaction/Rotating.md index d18b876ff..2cdf032bf 100644 --- a/wpf/Diagram/Annotation/Interaction/Rotating.md +++ b/wpf/Diagram/Annotation/Interaction/Rotating.md @@ -27,7 +27,7 @@ Annotation rotation can be enabled by using the [`Constraints`](https://help.syn {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the AnnotationCollection Annotations = new ObservableCollection() @@ -59,7 +59,7 @@ Annotations = new ObservableCollection() {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() diff --git a/wpf/Diagram/Annotation/Interaction/SelectionAndResizing.md b/wpf/Diagram/Annotation/Interaction/SelectionAndResizing.md index 1dd435ac3..3055df5ef 100644 --- a/wpf/Diagram/Annotation/Interaction/SelectionAndResizing.md +++ b/wpf/Diagram/Annotation/Interaction/SelectionAndResizing.md @@ -28,7 +28,7 @@ Selection of an annotation can be enabled by using the [`Constraints`](https://h {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the AnnotationCollection Annotations = new ObservableCollection() @@ -64,7 +64,7 @@ Resizing an annotation can be enabled by using the `Constraints` property of `An {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() diff --git a/wpf/Diagram/Annotation/PositioningAndAppearance.md b/wpf/Diagram/Annotation/PositioningAndAppearance.md index bfe68df7b..c547f0b66 100644 --- a/wpf/Diagram/Annotation/PositioningAndAppearance.md +++ b/wpf/Diagram/Annotation/PositioningAndAppearance.md @@ -139,7 +139,7 @@ Annotations = new ObservableCollection() {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -181,7 +181,7 @@ Connector's annotation can be aligned over its segment path using the [`Alignmen {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -216,7 +216,7 @@ The [`Length`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Ann {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -248,7 +248,7 @@ The [`Displacement`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagr {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() { @@ -281,7 +281,7 @@ Position of an annotation is controlled by using its `Length` property, which re {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -391,7 +391,7 @@ When text overflows node boundaries, you can control it by using the [`WrapText` {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new AnnotationCollection() @@ -450,7 +450,7 @@ Default appearance of the annotations can be customized by using the [`EditTempl {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the AnnotationCollection Annotations = new ObservableCollection() @@ -478,13 +478,13 @@ Also, diagram has `TextAnnotationViewModel` class to customize the appearance of {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -495,7 +495,7 @@ Annotations = new ObservableCollection() Text = "Annotation", FontStyle = FontStyles.Italic, FontSize = 12, - FontFamily = new FontFamily("TimesNewRomen"), + FontFamily = new FontFamily("Times New Romen"), TextDecorations = TextDecorations.Underline, FontWeight = FontWeights.Bold, Foreground = new SolidColorBrush(Colors.Black), @@ -521,7 +521,7 @@ Diagram allows you to show the annotation in view or edit mode while loading the {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() @@ -557,7 +557,7 @@ Also, the [`ReadOnly`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Dia {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the Annotation Collection Annotations = new ObservableCollection() diff --git a/wpf/Diagram/Commands/Alignment.md b/wpf/Diagram/Commands/Alignment.md index 19e9b9aa6..cfeeea334 100644 --- a/wpf/Diagram/Commands/Alignment.md +++ b/wpf/Diagram/Commands/Alignment.md @@ -17,13 +17,13 @@ The [`AlignLeft`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram. {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -42,13 +42,13 @@ The [`AlignRight`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -66,13 +66,13 @@ The [`AlignCenter`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagra {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -92,13 +92,13 @@ The [`AlignTop`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.I {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -116,13 +116,13 @@ The [`AlignBottom`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagra {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -140,13 +140,13 @@ The [`AlignMiddle`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagra {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/Clipboard.md b/wpf/Diagram/Commands/Clipboard.md index bf2e16852..8c26e2cb9 100644 --- a/wpf/Diagram/Commands/Clipboard.md +++ b/wpf/Diagram/Commands/Clipboard.md @@ -19,13 +19,13 @@ N> The Cut command is applicable only when one or more diagram elements are sele {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -46,13 +46,13 @@ N> The Copy command is applicable only when one or more diagram elements are sel {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -73,13 +73,13 @@ N> The Paste command is applicable only when the clipboard contains supported di {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -102,13 +102,13 @@ N> The Duplicate command creates copies of the selected diagram elements within {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/Command-Manager.md b/wpf/Diagram/Commands/Command-Manager.md index d8ab947fb..a945f9408 100644 --- a/wpf/Diagram/Commands/Command-Manager.md +++ b/wpf/Diagram/Commands/Command-Manager.md @@ -13,7 +13,7 @@ The [CommandManager](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagr The `CommandManager` can be accessed through the `SfDiagram` instance and is used to manage built-in and custom gesture commands. -{% highlight C# %} +{% highlight c# %} // Initialize the SfDiagram SfDiagram diagram = new SfDiagram(); @@ -84,7 +84,7 @@ The following code example represents how to define a custom Save command (Contr {% tabs %} -{% highlight C# %} +{% highlight c# %} // To define the mouse and keyboard gesture for the commands GestureCommand saveGesture = new GestureCommand() diff --git a/wpf/Diagram/Commands/Delete.md b/wpf/Diagram/Commands/Delete.md index 8d48eed20..23a2e1cf4 100644 --- a/wpf/Diagram/Commands/Delete.md +++ b/wpf/Diagram/Commands/Delete.md @@ -25,7 +25,7 @@ The following example locates nodes and connectors by using their `ID` property. {% tabs %} -{% highlight C# %} +{% highlight c# %} List deleteableObjects = new List(); diff --git a/wpf/Diagram/Commands/EditandFormatText.md b/wpf/Diagram/Commands/EditandFormatText.md index 4aef11362..6b5dca4ab 100644 --- a/wpf/Diagram/Commands/EditandFormatText.md +++ b/wpf/Diagram/Commands/EditandFormatText.md @@ -17,13 +17,13 @@ The [EditAnnotation](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagr {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -40,13 +40,13 @@ The [ToggleBold](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.I {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -63,13 +63,13 @@ The [ToggleItalic](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -86,13 +86,13 @@ The [ToggleUnderline](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diag {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -109,13 +109,13 @@ The [ToggleStrikeThrough](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml. {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -134,13 +134,13 @@ The [Cancel](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.IDiag {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/ExpandCollapse.md b/wpf/Diagram/Commands/ExpandCollapse.md index 0135c59ae..2285610e5 100644 --- a/wpf/Diagram/Commands/ExpandCollapse.md +++ b/wpf/Diagram/Commands/ExpandCollapse.md @@ -30,7 +30,7 @@ The [IsUpdateLayout](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagr N> In the following example, `args.Item` represents the node associated with the current diagram interaction event (such as a node click or command invocation event). Ensure that the item is a valid `NodeViewModel` with child nodes before executing the `ExpandCollapse` command. {% tabs %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/FitToPage.md b/wpf/Diagram/Commands/FitToPage.md index b9fe957c2..c35e552cd 100644 --- a/wpf/Diagram/Commands/FitToPage.md +++ b/wpf/Diagram/Commands/FitToPage.md @@ -13,13 +13,13 @@ The [FitToPage](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.ID {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -73,7 +73,7 @@ The [FocusArea](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Fi The following example shows how to create a `FitToPageParameter` instance and pass it to the `FitToPage` command. {% tabs %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagram = new SfDiagram(); diff --git a/wpf/Diagram/Commands/Flip.md b/wpf/Diagram/Commands/Flip.md index bde6273d3..fc7ef1d94 100644 --- a/wpf/Diagram/Commands/Flip.md +++ b/wpf/Diagram/Commands/Flip.md @@ -13,13 +13,13 @@ The [`Flip`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.IDiag {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram Diagram = new SfDiagram(); @@ -58,7 +58,7 @@ The [Flip](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Flip.ht | None | It is used to disables all the flip behavior. | {% tabs %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram Diagram = new SfDiagram(); diff --git a/wpf/Diagram/Commands/Grouping.md b/wpf/Diagram/Commands/Grouping.md index ea2717bab..26dc16e6e 100644 --- a/wpf/Diagram/Commands/Grouping.md +++ b/wpf/Diagram/Commands/Grouping.md @@ -19,13 +19,13 @@ N> The Group command requires at least two diagram objects to be selected. If fe {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); @@ -46,13 +46,13 @@ N> The UnGroup command can be executed only when a grouped object is selected. I {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/Nudge.md b/wpf/Diagram/Commands/Nudge.md index 0fe8bc952..ca3e34b80 100644 --- a/wpf/Diagram/Commands/Nudge.md +++ b/wpf/Diagram/Commands/Nudge.md @@ -26,7 +26,7 @@ N> Nudge commands are applicable only when one or more diagram elements are sele {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} @@ -34,7 +34,7 @@ N> Nudge commands are applicable only when one or more diagram elements are sele {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/Rotate.md b/wpf/Diagram/Commands/Rotate.md index 07a098d35..440764b8c 100644 --- a/wpf/Diagram/Commands/Rotate.md +++ b/wpf/Diagram/Commands/Rotate.md @@ -26,7 +26,7 @@ The `Angle` property is used to specify the rotation angle in degrees. The defau {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} @@ -34,7 +34,7 @@ The `Angle` property is used to specify the rotation angle in degrees. The defau {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/SelectByType.md b/wpf/Diagram/Commands/SelectByType.md index 50f98dbcc..a5a2bd2f4 100644 --- a/wpf/Diagram/Commands/SelectByType.md +++ b/wpf/Diagram/Commands/SelectByType.md @@ -17,13 +17,13 @@ N> If the diagram does not contain any elements of the specified type, the `Sele {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/SelectTool.md b/wpf/Diagram/Commands/SelectTool.md index a5c46f92e..ca7464a05 100644 --- a/wpf/Diagram/Commands/SelectTool.md +++ b/wpf/Diagram/Commands/SelectTool.md @@ -64,7 +64,7 @@ For details , refer [Tools and DrawingTools](https://help.syncfusion.com/wpf/dia {% tabs %} -{% highlight Xaml%} +{% highlight xaml%} @@ -83,7 +83,7 @@ For details , refer [Tools and DrawingTools](https://help.syncfusion.com/wpf/dia {% endhighlight %} -{% highlight C# %} +{% highlight c# %} //Initialize the SfDiagram SfDiagram diagramcontrol = new SfDiagram(); diff --git a/wpf/Diagram/Commands/SetShapeStyle.md b/wpf/Diagram/Commands/SetShapeStyle.md index ff2836abd..b1595aaab 100644 --- a/wpf/Diagram/Commands/SetShapeStyle.md +++ b/wpf/Diagram/Commands/SetShapeStyle.md @@ -17,7 +17,7 @@ N> The `SetShapeStyle` command requires a valid `Style` object as its command pa {% tabs %} -{% highlight Xaml%} +{% highlight xaml%}