Skip to content
Merged
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
2 changes: 1 addition & 1 deletion wpf-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -1740,7 +1740,7 @@
<li>
How to
<ul>
<li><a href="wpf/Range-Slider/Work-with-Events">Work with Events</a></li>
<li><a href="/wpf/Range-Slider/Work-with-Events">Work with Events</a></li>
</ul>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/Annotation/DefineAnnotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ You can add any number of annotations to a node or connector.
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/Annotation/Events.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions wpf/Diagram/Annotation/Interaction/Dragging.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Dragging an annotation can be enabled by using the [`Constraints`](https://help.
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -67,7 +67,7 @@ Diagram allows you to specify the amount of dragging area around the annotation
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the AnnotationCollection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down
4 changes: 2 additions & 2 deletions wpf/Diagram/Annotation/Interaction/Rotating.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Annotation rotation can be enabled by using the [`Constraints`](https://help.syn
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the AnnotationCollection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -59,7 +59,7 @@ Annotations = new ObservableCollection<IAnnotation>()
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down
4 changes: 2 additions & 2 deletions wpf/Diagram/Annotation/Interaction/SelectionAndResizing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<IAnnotation>()
Expand Down Expand Up @@ -64,7 +64,7 @@ Resizing an annotation can be enabled by using the `Constraints` property of `An
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down
24 changes: 12 additions & 12 deletions wpf/Diagram/Annotation/PositioningAndAppearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Annotations = new ObservableCollection<IAnnotation>()
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -181,7 +181,7 @@ Connector's annotation can be aligned over its segment path using the [`Alignmen
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -216,7 +216,7 @@ The [`Length`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.Ann
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -248,7 +248,7 @@ The [`Displacement`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagr
<syncfusion:AnnotationEditorViewModel Content="Annotation" Displacement="60" />
</syncfusion:AnnotationCollection>
{% endhighlight %}
{% highlight C# %}
{% highlight c# %}
//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
{
Expand Down Expand Up @@ -281,7 +281,7 @@ Position of an annotation is controlled by using its `Length` property, which re
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -391,7 +391,7 @@ When text overflows node boundaries, you can control it by using the [`WrapText`
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new AnnotationCollection()
Expand Down Expand Up @@ -450,7 +450,7 @@ Default appearance of the annotations can be customized by using the [`EditTempl
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the AnnotationCollection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -478,13 +478,13 @@ Also, diagram has `TextAnnotationViewModel` class to customize the appearance of
<syncfusion:AnnotationCollection>
<!--Initialize the Text Annotation View Model class-->
<syncfusion:TextAnnotationViewModel Text="Annotation" FontStyle="Italic"
FontSize="12" FontFamily="TimesNewRomen"
FontSize="12" FontFamily="Times New Romen"
TextDecorations="Underline"
FontWeight="Bold" Foreground="Black"/>
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand All @@ -495,7 +495,7 @@ Annotations = new ObservableCollection<IAnnotation>()
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),
Expand All @@ -521,7 +521,7 @@ Diagram allows you to show the annotation in view or edit mode while loading the
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down Expand Up @@ -557,7 +557,7 @@ Also, the [`ReadOnly`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Dia
</syncfusion:AnnotationCollection>

{% endhighlight %}
{% highlight C# %}
{% highlight c# %}

//Initialize the Annotation Collection
Annotations = new ObservableCollection<IAnnotation>()
Expand Down
24 changes: 12 additions & 12 deletions wpf/Diagram/Commands/Alignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ The [`AlignLeft`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="AlignLeft" Name="AlignLeft" Command="Syncfusion:DiagramCommands.AlignLeft"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -42,13 +42,13 @@ The [`AlignRight`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="AlignRight" Name="AlignRight" Command="Syncfusion:DiagramCommands.AlignRight"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -66,13 +66,13 @@ The [`AlignCenter`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagra

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="AlignCenter" Name="AlignCenter" Command="Syncfusion:DiagramCommands.AlignCenter"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -92,13 +92,13 @@ The [`AlignTop`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagram.I

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="AlignTop" Name="AlignTop" Command="Syncfusion:DiagramCommands.AlignTop"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -116,13 +116,13 @@ The [`AlignBottom`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagra

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="AlignBottom" Name="AlignBottom" Command="Syncfusion:DiagramCommands.AlignBottom"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -140,13 +140,13 @@ The [`AlignMiddle`](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.Diagra

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="AlignMiddle" Name="AlignMiddle" Command="Syncfusion:DiagramCommands.AlignMiddle"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand Down
16 changes: 8 additions & 8 deletions wpf/Diagram/Commands/Clipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ N> The Cut command is applicable only when one or more diagram elements are sele

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="Cut" Name="Cut" Command="Syncfusion:DiagramCommands.Cut"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -46,13 +46,13 @@ N> The Copy command is applicable only when one or more diagram elements are sel

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="Copy" Name="Copy" Command="Syncfusion:DiagramCommands.Copy"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -73,13 +73,13 @@ N> The Paste command is applicable only when the clipboard contains supported di

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="Paste" Name="Paste" Command="Syncfusion:DiagramCommands.Paste"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand All @@ -102,13 +102,13 @@ N> The Duplicate command creates copies of the selected diagram elements within

{% tabs %}

{% highlight Xaml%}
{% highlight xaml%}

<Button Height="50" Content="Duplicate" Name="Duplicate" Command="Syncfusion:DiagramCommands.Duplicate"></Button>

{% endhighlight %}

{% highlight C# %}
{% highlight c# %}

//Initialize the SfDiagram
SfDiagram diagramcontrol = new SfDiagram();
Expand Down
4 changes: 2 additions & 2 deletions wpf/Diagram/Commands/Command-Manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion wpf/Diagram/Commands/Delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The following example locates nodes and connectors by using their `ID` property.

{% tabs %}

{% highlight C# %}
{% highlight c# %}

List<IGroupable> deleteableObjects = new List<IGroupable>();

Expand Down
Loading