Skip to content
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
38 changes: 19 additions & 19 deletions wpf/Chromeless-Window/Adding-controls-in-the-titlebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ Provided the option to add adaptive controls such as Button, TextBox, Label, etc
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Chromeless_Window_Sample"
mc:Ignorable="d" xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:skin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
skin:SfSkinManager.VisualStyle="Office2016Colorful" TitleTextAlignment="Left"
TitleTextAlignment="Left"
Title="Chromeless Window Sample" IconAlignment="Left" Height="350" Width="550" x:Name="window"
RightHeaderItemsSource="{DynamicResource rightHeaderItems}">
<syncfusion:ChromelessWindow.Resources>
Expand All @@ -38,25 +37,27 @@ Provided the option to add adaptive controls such as Button, TextBox, Label, etc
{% endhighlight %}
{% highlight C# %}

public class MyObservableCollection : ObservableCollection<object> { }
public class MyObservableCollection : ObservableCollection<object>
{

/// <summary>
/// Commmand for the help button.
/// </summary>
public DelegateCommand HelpCommand
{
get
/// <summary>
/// Commmand for the help button.
/// </summary>
public DelegateCommand HelpCommand
{
return new DelegateCommand(HelpCommandAction);
get
{
return new DelegateCommand(HelpCommandAction);
}
}
}

/// <summary>
/// Action that is performed when clicking the help button.
/// </summary>
private void HelpCommandAction(object param)
{
System.Diagnostics.Process.Start("https://help.syncfusion.com/wpf/chromeless-window/adding-controls-in-the-titlebar");
/// <summary>
/// Action that is performed when clicking the help button.
/// </summary>
private void HelpCommandAction(object param)
{
System.Diagnostics.Process.Start("https://help.syncfusion.com/wpf/chromeless-window/adding-controls-in-the-titlebar");
}
}

/// <summary>
Expand Down Expand Up @@ -125,8 +126,7 @@ In the illustration below, we have defined the [`RightHeaderItemTemplate`](https
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Chromeless_Window_Sample"
mc:Ignorable="d" xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:skin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
skin:SfSkinManager.VisualStyle="Office2016Colorful" TitleTextAlignment="Left"
TitleTextAlignment="Left"
Title="Chromeless Window Sample" IconAlignment="Left" Height="350" Width="550"
RightHeaderItemsSource="{Binding Utilities}" RightHeaderItemTemplate="{DynamicResource Part_RightItemsTemplate}">
<syncfusion:ChromelessWindow.DataContext>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions wpf/Chromeless-Window/Corner-Radius.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ The default value is zero, which implies sharp corners
<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" CornerRadius="8" AllowsTransparency="True"
syncfusion:SkinStorage.VisualStyle="Metro" x:Name="_chromelessWindow"
Title="ChromelessWindow" Height="350" Width="525" CornerRadius="8" AllowsTransparency="True"
x:Name="_chromelessWindow"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
</syncfusion:ChromelessWindow>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To set the ResizeBorderBrush property, use the below code
<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" ResizeBorderBrush="Maroon" syncfusion:SkinStorage.VisualStyle="Metro"
Title="ChromelessWindow" Height="350" Width="525" ResizeBorderBrush="Maroon"
x:Name="_chromelessWindow" xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
<Grid>
</Grid>
Expand Down Expand Up @@ -58,7 +58,7 @@ To set this property, use the following code.
<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" ResizeBorderThickness="8" syncfusion:SkinStorage.VisualStyle="Metro"
Title="ChromelessWindow" Height="350" Width="525" ResizeBorderThickness="8"
x:Name="_chromelessWindow" xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
<Grid>
</Grid>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified wpf/Chromeless-Window/Getting-Started_images/ShowTitle.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions wpf/Chromeless-Window/Styling-the-ChromelessWindow.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ChromelessWindow allows the end-user to write own templates for the TitleBar. Th
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" TitleBarTemplate="{StaticResource TitleBarTemplateKey}"
syncfusion:SkinStorage.VisualStyle="Metro" x:Name="_chromelessWindow"
x:Name="_chromelessWindow"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
</syncfusion:ChromelessWindow>

Expand Down Expand Up @@ -64,7 +64,7 @@ ChromelessWindow enables the user to write their own templates for the Title bu
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" MaximizeButtonTemplate="{StaticResource MaxTemplateKey}"
syncfusion:SkinStorage.VisualStyle="Metro" x:Name="_chromelessWindow"
x:Name="_chromelessWindow"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
<Grid>
</Grid>
Expand Down Expand Up @@ -158,7 +158,7 @@ Then apply this style to the ChromelessWindow using Template Property
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" Template="{StaticResource ChromelessWindowTemplate}"
syncfusion:SkinStorage.VisualStyle="Metro" x:Name="_chromelessWindow"
x:Name="_chromelessWindow"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
</syncfusion:ChromelessWindow>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions wpf/Chromeless-Window/TitleBarCustomization.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ documentation: ug
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525" TitleBarBackground="Red" x:Name="_chromelessWindow"
syncfusion:SkinStorage.VisualStyle="Metro"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
<Grid>
</Grid>
Expand Down Expand Up @@ -57,8 +56,8 @@ documentation: ug
<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" TitleBarHeight="60" TitleBarBackground="Pink"
syncfusion:SkinStorage.VisualStyle="Metro" x:Name="_chromelessWindow"
Title="ChromelessWindow" Height="350" Width="525" TitleBarHeight="60" TitleBarBackground="Pink"
x:Name="_chromelessWindow"
xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
<Grid>
</Grid>
Expand Down Expand Up @@ -93,7 +92,7 @@ documentation: ug
<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" TitleFontSize="25" syncfusion:SkinStorage.VisualStyle="Metro"
Title="ChromelessWindow" Height="350" Width="525" TitleFontSize="25"
x:Name="_chromelessWindow" xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
<Grid>
</Grid>
Expand Down Expand Up @@ -130,8 +129,6 @@ documentation: ug
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Chromeless_Window_Sample"
mc:Ignorable="d" xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:skin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
skin:SfSkinManager.VisualStyle="Office2019Colorful"
TitleTextAlignment="Center"
Icon="App.ico"
ShowTitle="False"
Expand Down Expand Up @@ -160,8 +157,6 @@ documentation: ug
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Chromeless_Window_Sample"
mc:Ignorable="d" xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
xmlns:skin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
skin:SfSkinManager.VisualStyle="Office2019Colorful"
TitleTextAlignment="Center"
Icon="App.ico"
ShowMinimizeButton="False"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion wpf/Chromeless-Window/UseNativeChrome.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To set this property, use the below code.
<syncfusion:ChromelessWindow x:Class="Chromelesswindow.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="ChromelessWindow" Height="350" Width="525" UseNativeChrome="True" syncfusion:SkinStorage.VisualStyle="Metro"
Title="ChromelessWindow" Height="350" Width="525" UseNativeChrome="True"
x:Name="_chromelessWindow" xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF" >
</syncfusion:ChromelessWindow>

Expand Down