Posts

Showing posts from May, 2020
Share:

Create Virtual RowView WPF | Saatody | Amit Padhiyar

XAML <Window x:Class="WpfApp23.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:WpfApp23" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="3*"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <ScrollViewer Grid.Column="0

DevExpress DockLayoutManager

using DevExpress.Xpf.Docking; using DevExpress.Xpf.Layout.Core; using System.Windows; using System.Windows.Controls; using System.Windows.Media; namespace Saatody.Module.Startup { public partial class SaatodyApplication : Window { private StartPage StartPage = new StartPage(); public SaatodyApplication() { InitializeComponent(); Event(); } private LayoutGroup Root = new LayoutGroup(); private LayoutGroup LG = new LayoutGroup(); private DocumentGroup DG = new DocumentGroup(); private TabbedGroup TG = new TabbedGroup(); private LayoutPanel LP = new LayoutPanel(); private DocumentPanel DP = new DocumentPanel(); private DocumentPanel TDP = new DocumentPanel(); private LayoutPanel TP = new LayoutPanel(); private void Event() { Dock.ShowingDockHints += (sender, e) => { if ((e.DraggingSource).GetType() == typeof(Do