Skip to content

Commit afdc58f

Browse files
Merge remote-tracking branch 'remotes/origin/development'
2 parents 500448d + a012915 commit afdc58f

File tree

7 files changed

+220
-5
lines changed

7 files changed

+220
-5
lines changed

wpf-toc.html

Lines changed: 4 additions & 2 deletions
Large diffs are not rendered by default.

wpf/Docking/Data-Binding.md

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: Data Binding in WPF Docking control | Syncfusion®
44
description: Learn here all about Data Binding support in Syncfusion® WPF Docking (DockingManager) control and more.
5-
platform: WPF
5+
platform: wpf
66
control: DockingManager
77
documentation: ug
88
---
@@ -171,4 +171,71 @@ DockCollections.Add(new DockItem() { Header = "Find Results", State = DockState.
171171

172172
![WPF Docking Window Configuration through Items Source](Data-Binding-images/wpf-docking-window-configuration-through-items-source.jpeg)
173173

174+
## Customizing the Header of DockItem
174175

176+
Header of each [DockItem](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockItem.html) can be customizable using the [HeaderTemplate](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockingManager.html#Syncfusion_Windows_Tools_Controls_DockingManager_HeaderStyleProperty). The `Header` property supports objects, allowing flexible customization with text, images, or other UI elements. This enables unique header styling for each DockItem, providing better control over its appearance and visibility.
177+
178+
{% tabs %}
179+
180+
{% highlight C# %}
181+
182+
public class Header
183+
{
184+
public string Title { get; set; }
185+
186+
public Geometry IconData { get;set;}
187+
188+
public Size IconSize { get; set; }
189+
}
190+
191+
{% endhighlight %}
192+
193+
{% endtabs %}
194+
195+
{% tabs %}
196+
197+
{% highlight C# %}
198+
199+
public class DockViewModel : NotificationObject
200+
{
201+
public DockViewModel()
202+
{
203+
GenerateDockItemCollection();
204+
}
205+
private ObservableCollection<DockItem> dockItems;
206+
207+
public ObservableCollection<DockItem> DockItemCollection
208+
{
209+
get { return dockItems; }
210+
set { dockItems = value; this.RaisePropertyChanged(nameof(DockItemCollection)); }
211+
}
212+
213+
private void GenerateDockItemCollection()
214+
{
215+
DockItemCollection = new ObservableCollection<DockItem>();
216+
217+
DockItemCollection.Add(new DockItem() { Header = new Header { Title = "Toolbox", IconData = Geometry.Parse("M9.7000122,0L16.600006,1.6000004 11.100006,6.3999721 17.100006,13.099962 20.600006,9.5999738 20.5,9.3999626C20.299988,8.8999635 20.200012,8.2999603 20.200012,7.6999861 20.200012,4.4999849 22.799988,1.8999874 26,1.8999873 26.600006,1.8999874 27.100006,1.9999931 27.600006,2.0999989L24,3.8999805 24.600006,8.8999635 29.5,9.6999799 31.399994,6.0999858C31.899994,6.4999782 32,6.9999763 32,7.5999805 32,10.799952 29.399994,13.399949 26.200012,13.399949 25.299988,13.399949 24.399994,13.199968 23.700012,12.799945L23.600006,12.699969 20,16.299933 28.399994,25.699927 30.600006,28.099913C31.399994,28.999903 31.399994,30.399893 30.399994,31.299883 29.5,32.099898 28.100006,32.099898 27.200012,31.099901L26.5,30.299887 26.299988,30.099905 24.299988,27.899901C24.200012,27.799895,24.200012,27.799895,24.200012,27.699919L16.700012,19.399929 12.299988,23.699932 12.399994,23.899914C12.600006,24.499918 12.799988,25.199928 12.799988,25.899906 12.799988,29.099909 10.200012,31.699906 7,31.699906 6.3999939,31.699906 5.8999939,31.599901 5.3999939,31.499895L9,29.699913 8.3999939,24.69993 3.2999878,23.99992 1.3999939,27.599915C1.2000122,27.099915 1.2000122,26.499911 1.2000122,25.899906 1.2000122,22.699936 3.7999878,20.09994 7,20.09994 7.7999878,20.09994 8.6000061,20.299919 9.2999878,20.599938L9.3999939,20.699944 13.899994,16.299933 7.8999939,9.4999677 4,12.89995 0,8.5999777z") , IconSize = new Size(15,15) }, Name = "tool", State = DockState.Dock, DesiredWidthInDockedMode = 150, HeaderTemplate = (DataTemplate)Application.Current.FindResource("HeaderTemplate") });
218+
219+
DockItemCollection.Add(new DockItem() { Header = new Header { Title = "MainWindow.xaml.cs" }, State = DockState.Document, HeaderTemplate = (DataTemplate)Application.Current.FindResource("HeaderTemplate") });
220+
221+
DockItemCollection.Add(new DockItem() { Header = new Header { Title = "MainWindow.xaml", IconData = Geometry.Parse("M3.3169894,18.909973L3.3169894,20.480957 14.341993,20.480957 14.341993,18.909973z M3.3169894,12.10199L3.3169894,13.672974 19.114001,13.672974 19.114001,12.10199z M16.406999,1.1129761L21.374013,6.3989868 17.453996,6.3989868C16.875993,6.3989868,16.406999,5.9299927,16.406999,5.3519897z M2.2689838,0L14.893996,0 14.893996,5.6429443C14.893996,6.8959961,15.910995,7.9119873,17.163987,7.9119873L22.457999,7.9119873 22.457999,29.730957C22.457999,30.983948,21.442006,32,20.189015,32L2.2689838,32C1.0159922,32,4.4543413E-08,30.983948,0,29.730957L0,2.2689819C4.4543413E-08,1.0159912,1.0159922,0,2.2689838,0z"), IconSize = new Size(15,15) }, State = DockState.Document , HeaderTemplate = (DataTemplate)Application.Current.FindResource("HeaderTemplate") });
222+
223+
DockItemCollection.Add(new DockItem() { Header = new Header { Title = "Properties", IconData = Geometry.Parse("M11.800031,24L31.799999,24 31.799999,32 11.800031,32z M0,24L7.999988,24 7.999988,32 0,32z M11.800031,12L31.799999,12 31.799999,20 11.800031,20z M0,12L7.999988,12 7.999988,20 0,20z M11.800031,0L31.799999,0 31.799999,8 11.800031,8z M0,0L7.999988,0 7.999988,8 0,8z"), IconSize = new Size(15, 15) }, Name = "Properties", State = DockState.Dock, SideInDockedMode = DockSide.Tabbed, TargetNameInDockedMode = "solution", HeaderTemplate = (DataTemplate)Application.Current.FindResource("HeaderTemplate") });
224+
225+
DockItemCollection.Add(new DockItem() { Header = new Header { Title = "Solution Explorer" }, DesiredWidthInDockedMode = 150, Name = "solution", State = DockState.Dock, SideInDockedMode = DockSide.Right, HeaderTemplate = (DataTemplate)Application.Current.FindResource("HeaderTemplate") });
226+
227+
DockItemCollection.Add(new DockItem() { Header = new Header { Title = "Warning", IconData = Geometry.Parse("M14.966003,22.147998L17.112,22.147998 17.112,24.293016 14.966003,24.293016z M14.874008,13.098992L17.195007,13.098992 17.195007,15.726005 16.645004,21.407031 15.432007,21.407031 14.874008,15.726005z M16,5.1690032L4.1110077,27.212022 27.889008,27.212022z M16,0L24,14.832999 32,29.666 16,29.666 0,29.666 8,14.832999z") , IconSize = new Size(15, 15) }, Name = "Output", DesiredHeightInDockedMode = 150, State = DockState.Dock, SideInDockedMode = DockSide.Bottom, HeaderTemplate = (DataTemplate)Application.Current.FindResource("HeaderTemplate") });
228+
229+
DockItemCollection.Add(new DockItem() { Header = "Error List", State = DockState.Dock, SideInDockedMode = DockSide.Tabbed, TargetNameInDockedMode = "Output"});
230+
231+
DockItemCollection.Add(new DockItem() { Header = "Find Results", State = DockState.Dock, SideInDockedMode = DockSide.Tabbed, TargetNameInDockedMode = "Output" });
232+
}
233+
}
234+
235+
{% endhighlight %}
236+
237+
{% endtabs %}
238+
239+
![WPF DockItem Header Appearance Customization](Dealing-with-Windows_images/DockHeader.png)
240+
241+
N> [View Sample in GitHub](https://github.com/SyncfusionExamples/syncfusion-wpf-docking-manager-wpf-examples/tree/master/Samples/DockItem%20Header)

wpf/Docking/Dealing-with-Windows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@ SyncDockingManager.HeaderMouseOverBackground = new SolidColorBrush(Colors.DarkOr
597597
![WPF Docking Window Appearance Customization](Dealing-with-Windows_images/wpf-docking-window-appearance-customization.jpeg)
598598

599599

600+
600601
## Customizing FloatWindow
601602

602603
The float window can be customized by setting [FloatWindowHeaderBackground](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockingManager.html#Syncfusion_Windows_Tools_Controls_DockingManager_FloatWindowHeaderBackground), [FloatWindowHeaderForeground](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockingManager.html#Syncfusion_Windows_Tools_Controls_DockingManager_FloatWindowHeaderForeground), [FloatWindowSelectedHeaderBackground](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockingManager.html#Syncfusion_Windows_Tools_Controls_DockingManager_FloatWindowSelectedHeaderBackground), [FloatWindowSelectedBorderBrush](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockingManager.html#Syncfusion_Windows_Tools_Controls_DockingManager_FloatWindowSelectedBorderBrush) and [FloatWindowMouseOverHeaderBackground](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Tools.Controls.DockingManager.html#Syncfusion_Windows_Tools_Controls_DockingManager_FloatWindowMouseOverHeaderBackground) properties with the required brush values respectively.
32.5 KB
Loading

wpf/Domain-UpDown/Appearance-and-Styling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ This property allows you to apply a custom style and template to the internal Sf
151151
SfDomainUpDown supports various built-in themes. Refer to the below links to apply themes for the SfDomainUpDown,
152152

153153
* [Apply theme using SfSkinManager](https://help.syncfusion.com/wpf/themes/skin-manager)
154-
154+
155155
* [Create a custom theme using ThemeStudio](https://help.syncfusion.com/wpf/themes/theme-studio#creating-custom-theme)
156156

157-
![Setting theme to WPF SfDomainUpDown](Getting-Started_images/SfDomainUpDown_theme_support.png)
157+
![Setting theme to WPF SfDomainUpDown](Getting-Started_images/SfDomainUpDown_theme_support.png)
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: post
3+
title: Check the loaded document is edited in PdfViewer | Syncfusion<sup>&reg;</sup>;
4+
description: Learn about how to Check the loaded document is edited in Syncfusion<sup>&reg;</sup>; WPF Pdf Viewer control using IsDocumentEdited property.
5+
platform: wpf
6+
control: PDF Viewer
7+
documentation: ug
8+
---
9+
10+
# Check the loaded document is edited or not
11+
12+
The PDF Viewer allows you to check whether the loaded PDF document has been modified during the viewing session. This helps determine if you need to prompt the user to save changes before exiting or closing the document.The [IsDocumentEdited](https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.PdfViewer.PdfViewerControl.html#Syncfusion_Windows_PdfViewer_PdfViewerControl_IsDocumentEdited) property of the PDF Viewer provides a simple way to determine whether the loaded document has been modified it's returning true,and false if no modifications have occurred.
13+
14+
15+
{% tabs %}
16+
{% highlight c# %}
17+
18+
public MainWindow()
19+
{
20+
InitializeComponent();
21+
// Load the specified PDF file.
22+
pdfViewer.Load("Document.pdf");
23+
// Attach an event handler to the Closed event of the window.
24+
this.Closed += MainWindow_Closed;
25+
}
26+
private void MainWindow_Closed(object sender, EventArgs e)
27+
{
28+
bool isPDFEdited = pdfViewer.IsDocumentEdited;
29+
30+
if (isPDFEdited)
31+
{
32+
MessageBox.Show("The PDF document has been edited.", "Alert", MessageBoxButton.OK, MessageBoxImage.Information);
33+
}
34+
else
35+
{
36+
MessageBox.Show("The PDF document has not been edited.", "Alert", MessageBoxButton.OK, MessageBoxImage.Information);
37+
}
38+
}
39+
{% endhighlight %}
40+
{% endtabs %}
41+

wpf/Release-notes/v29.2.4.md

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
---
2+
title: Essential Studio for WPF 2025 Volume 1 Service Pack Release Release Notes
3+
description: Essential Studio for WPF 2025 Volume 1 Service Pack Release Release Notes
4+
platform: WPF
5+
documentation: ug
6+
---
7+
8+
# Essential Studio for WPF Release Notes
9+
10+
{% include release-info.html date="May 14, 2025" version="v29.2.4" passed="114574" failed="0" %}
11+
12+
{% directory path: _includes/release-notes/v29.2.4 %}
13+
14+
{% include {{file.url}} %}
15+
16+
{% enddirectory %}
17+
18+
## Test Results
19+
20+
| Component Name | Test Cases | Passed | Failed | Remarks |
21+
|---------------|------------|--------|--------|---------|
22+
| AutoComplete | 29 | 29 | 0 | All Passed |
23+
| ButtonAdv | 22 | 22 | 0 | All Passed |
24+
| Calculate | 9 | 9 | 0 | All Passed |
25+
| CalenderEdit | 41 | 41 | 0 | All Passed |
26+
| CardView | 22 | 22 | 0 | All Passed |
27+
| Carousel | 29 | 29 | 0 | All Passed |
28+
| CheckListBox | 150 | 150 | 0 | All Passed |
29+
| ChromelessWindow | 152 | 152 | 0 | All Passed |
30+
| ColorEdit | 18 | 18 | 0 | All Passed |
31+
| ColorPicker | 79 | 79 | 0 | All Passed |
32+
| ColorPickerPalette | 65 | 65 | 0 | All Passed |
33+
| ComboBoxAdv | 118 | 118 | 0 | All Passed |
34+
| CurrencyTextBox | 48 | 48 | 0 | All Passed |
35+
| DateTimeEdit | 56 | 56 | 0 | All Passed |
36+
| DockingManager | 490 | 490 | 0 | All Passed |
37+
| DocumentContainer | 41 | 41 | 0 | All Passed |
38+
| DoubleTextBox | 270 | 270 | 0 | All Passed |
39+
| EditControl | 160 | 160 | 0 | All Passed |
40+
| FontListBox | 2 | 2 | 0 | All Passed |
41+
| GanttControl | 2069 | 2069 | 0 | All Passed |
42+
| GettingStarted | 109 | 109 | 0 | All Passed |
43+
| GridDataControl | 74 | 74 | 0 | All Passed |
44+
| GridTreeControl | 4 | 4 | 0 | All Passed |
45+
| GroupBar | 65 | 65 | 0 | All Passed |
46+
| HierarchyNavigator | 6 | 6 | 0 | All Passed |
47+
| IntegerTextBox | 26 | 26 | 0 | All Passed |
48+
| Localization | 3 | 3 | 0 | All Passed |
49+
| MaskedTextBox | 20 | 20 | 0 | All Passed |
50+
| MenuAdv | 16 | 16 | 0 | All Passed |
51+
| PdfViewer | 2997 | 2997 | 0 | All Passed |
52+
| PercentTextBox | 28 | 28 | 0 | All Passed |
53+
| PropertyGrid | 140 | 140 | 0 | All Passed |
54+
| Ribbon | 1197 | 1197 | 0 | All Passed |
55+
| SfAccordion | 30 | 30 | 0 | All Passed |
56+
| SfBadge | 8 | 8 | 0 | All Passed |
57+
| SfBulletGraph | 147 | 147 | 0 | All Passed |
58+
| SfBusyIndicator | 9 | 9 | 0 | All Passed |
59+
| SfCalculator | 3 | 3 | 0 | All Passed |
60+
| SfDataGrid | 4568 | 4568 | 0 | All Passed |
61+
| SfDataPager | 16 | 16 | 0 | All Passed |
62+
| SfDatePicker | 118 | 118 | 0 | All Passed |
63+
| SfDomainUpDown | 1 | 1 | 0 | All Passed |
64+
| SfGridSplitter | 19 | 19 | 0 | All Passed |
65+
| SfHubTile | 1 | 1 | 0 | All Passed |
66+
| SfImageEditor | 177 | 177 | 0 | All Passed |
67+
| SfLinearGauge | 27 | 27 | 0 | All Passed |
68+
| SfMaps | 46 | 46 | 0 | All Passed |
69+
| SfMaskedEdit | 97 | 97 | 0 | All Passed |
70+
| SfMultiColumnDropDown | 130 | 130 | 0 | All Passed |
71+
| SfMultiColumnDropDownControl | 5 | 5 | 0 | All Passed |
72+
| SfNavigationDrawer | 60 | 60 | 0 | All Passed |
73+
| SfPulsingTile | 12 | 12 | 0 | All Passed |
74+
| SfRadialMenu | 45 | 45 | 0 | All Passed |
75+
| SfRadialSlider | 16 | 16 | 0 | All Passed |
76+
| SfRangeSlider | 11 | 11 | 0 | All Passed |
77+
| SfRating | 4 | 4 | 0 | All Passed |
78+
| SfSchedule | 2 | 2 | 0 | All Passed |
79+
| SfScheduler | 2698 | 2698 | 0 | All Passed |
80+
| SfSkinManager | 22 | 22 | 0 | All Passed |
81+
| SfSpellChecker | 83 | 83 | 0 | All Passed |
82+
| SfSpreadsheet | 2511 | 2511 | 0 | All Passed |
83+
| SfTextBoxExt | 21 | 21 | 0 | All Passed |
84+
| SfTextInputLayout | 333 | 333 | 0 | All Passed |
85+
| SfTimePicker | 125 | 125 | 0 | All Passed |
86+
| SfTreeGrid | 2157 | 2157 | 0 | All Passed |
87+
| SfTreeMap | 742 | 742 | 0 | All Passed |
88+
| SfTreeNavigator | 46 | 46 | 0 | All Passed |
89+
| SkinManager | 51 | 51 | 0 | All Passed |
90+
| SplitButtonAdv | 15 | 15 | 0 | All Passed |
91+
| TabControlExt | 62 | 62 | 0 | All Passed |
92+
| TabNavigationControl | 9 | 9 | 0 | All Passed |
93+
| TabSplitter | 10 | 10 | 0 | All Passed |
94+
| Taskbar | 9 | 9 | 0 | All Passed |
95+
| TileViewControl | 127 | 127 | 0 | All Passed |
96+
| TimeSpanEdit | 21 | 21 | 0 | All Passed |
97+
| ToolBarAdv | 30 | 30 | 0 | All Passed |
98+
| TreeViewAdv | 285 | 285 | 0 | All Passed |
99+
| UpDown | 295 | 295 | 0 | All Passed |
100+
| WizardControl | 9 | 9 | 0 | All Passed |
101+
| DocIO | 37765 | 37765 | 0 | All Passed |
102+
| PDF | 13210 | 13210 | 0 | All Passed |
103+
| Presentation | 5860 | 5860 | 0 | All Passed |
104+
| XlsIO | 43971 | 43971 | 0 | All Passed |

0 commit comments

Comments
 (0)