Skip to content

Commit b9d0812

Browse files
author
prabakaran.sangameswaran
committed
Sample committed.
1 parent a309396 commit b9d0812

File tree

179 files changed

+8431
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+8431
-0
lines changed

Samples/ArranageTabs/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
5+
</startup>
6+
</configuration>

Samples/ArranageTabs/App.xaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="ArranageTabs.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:ArranageTabs"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>

Samples/ArranageTabs/App.xaml.cs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Windows;
8+
9+
namespace ArranageTabs
10+
{
11+
/// <summary>
12+
/// Interaction logic for App.xaml
13+
/// </summary>
14+
public partial class App : Application
15+
{
16+
}
17+
}
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{2D8AB954-D260-4336-A938-4DC892A0E3C3}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>ArranageTabs</RootNamespace>
10+
<AssemblyName>ArranageTabs</AssemblyName>
11+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14+
<WarningLevel>4</WarningLevel>
15+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
16+
<Deterministic>true</Deterministic>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PlatformTarget>AnyCPU</PlatformTarget>
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\Debug\</OutputPath>
24+
<DefineConstants>DEBUG;TRACE</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<PlatformTarget>AnyCPU</PlatformTarget>
30+
<DebugType>pdbonly</DebugType>
31+
<Optimize>true</Optimize>
32+
<OutputPath>bin\Release\</OutputPath>
33+
<DefineConstants>TRACE</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<Reference Include="Syncfusion.Licensing, Version=18.1460.0.46, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
39+
<HintPath>packages\Syncfusion.Licensing.18.1.0.46\lib\net46\Syncfusion.Licensing.dll</HintPath>
40+
</Reference>
41+
<Reference Include="Syncfusion.Shared.WPF, Version=18.1460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
42+
<HintPath>packages\Syncfusion.Shared.WPF.18.1.0.46\lib\net46\Syncfusion.Shared.WPF.dll</HintPath>
43+
</Reference>
44+
<Reference Include="Syncfusion.Tools.WPF, Version=18.1460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
45+
<HintPath>packages\Syncfusion.Tools.WPF.18.1.0.46\lib\net46\Syncfusion.Tools.WPF.dll</HintPath>
46+
</Reference>
47+
<Reference Include="System" />
48+
<Reference Include="System.Data" />
49+
<Reference Include="System.Xml" />
50+
<Reference Include="Microsoft.CSharp" />
51+
<Reference Include="System.Core" />
52+
<Reference Include="System.Xml.Linq" />
53+
<Reference Include="System.Data.DataSetExtensions" />
54+
<Reference Include="System.Net.Http" />
55+
<Reference Include="System.Xaml">
56+
<RequiredTargetFramework>4.0</RequiredTargetFramework>
57+
</Reference>
58+
<Reference Include="WindowsBase" />
59+
<Reference Include="PresentationCore" />
60+
<Reference Include="PresentationFramework" />
61+
</ItemGroup>
62+
<ItemGroup>
63+
<ApplicationDefinition Include="App.xaml">
64+
<Generator>MSBuild:Compile</Generator>
65+
<SubType>Designer</SubType>
66+
</ApplicationDefinition>
67+
<Compile Include="ViewModel\ViewModel.cs" />
68+
<Page Include="MainWindow.xaml">
69+
<Generator>MSBuild:Compile</Generator>
70+
<SubType>Designer</SubType>
71+
</Page>
72+
<Compile Include="App.xaml.cs">
73+
<DependentUpon>App.xaml</DependentUpon>
74+
<SubType>Code</SubType>
75+
</Compile>
76+
<Compile Include="MainWindow.xaml.cs">
77+
<DependentUpon>MainWindow.xaml</DependentUpon>
78+
<SubType>Code</SubType>
79+
</Compile>
80+
</ItemGroup>
81+
<ItemGroup>
82+
<Compile Include="Properties\AssemblyInfo.cs">
83+
<SubType>Code</SubType>
84+
</Compile>
85+
<Compile Include="Properties\Resources.Designer.cs">
86+
<AutoGen>True</AutoGen>
87+
<DesignTime>True</DesignTime>
88+
<DependentUpon>Resources.resx</DependentUpon>
89+
</Compile>
90+
<Compile Include="Properties\Settings.Designer.cs">
91+
<AutoGen>True</AutoGen>
92+
<DependentUpon>Settings.settings</DependentUpon>
93+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
94+
</Compile>
95+
<EmbeddedResource Include="Properties\Resources.resx">
96+
<Generator>ResXFileCodeGenerator</Generator>
97+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
98+
</EmbeddedResource>
99+
<None Include="packages.config" />
100+
<None Include="Properties\Settings.settings">
101+
<Generator>SettingsSingleFileGenerator</Generator>
102+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
103+
</None>
104+
</ItemGroup>
105+
<ItemGroup>
106+
<None Include="App.config" />
107+
</ItemGroup>
108+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
109+
</Project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.29911.84
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArranageTabs", "ArranageTabs.csproj", "{2D8AB954-D260-4336-A938-4DC892A0E3C3}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{2D8AB954-D260-4336-A938-4DC892A0E3C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{2D8AB954-D260-4336-A938-4DC892A0E3C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{2D8AB954-D260-4336-A938-4DC892A0E3C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{2D8AB954-D260-4336-A938-4DC892A0E3C3}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {D643749F-B68E-4152-9EFE-88807EBA5AAC}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<Window x:Class="ArranageTabs.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
7+
xmlns:local="clr-namespace:ArranageTabs"
8+
mc:Ignorable="d" WindowStartupLocation="CenterScreen"
9+
Title="TabControl - Tab switching" Height="450" Width="800">
10+
<Window.DataContext>
11+
<local:ViewModel/>
12+
</Window.DataContext>
13+
14+
<Grid>
15+
<Grid.ColumnDefinitions>
16+
<ColumnDefinition Width="*"/>
17+
<ColumnDefinition Width="0.75*"/>
18+
</Grid.ColumnDefinitions>
19+
20+
<Border Grid.Column="0">
21+
<Grid>
22+
<syncfusion:TabControlExt TabItemLayout="{Binding TabItemLayout}"
23+
AllowDragDrop="{Binding AllowDragDrop}"
24+
DragMarkerColor="{Binding DragMarkerColor}"
25+
Name="tabControlExt"
26+
Margin="20">
27+
<syncfusion:TabItemExt Header="tabItem1" Content="This is the first tab item content"/>
28+
<syncfusion:TabItemExt Header="tabItem2" Content="This is the second tab item content"/>
29+
<syncfusion:TabItemExt Header="tabItem3" Content="This is the third tab item content"/>
30+
<syncfusion:TabItemExt Header="tabItem4" Content="This is the fourth tab item content"/>
31+
<syncfusion:TabItemExt Header="tabItem5" Content="This is the fifth tab item content"/>
32+
<syncfusion:TabItemExt Header="tabItem6" Content="This is the sixth tab item content"/>
33+
<syncfusion:TabItemExt Header="tabItem7" Content="This is the seventh tab item content"/>
34+
<syncfusion:TabItemExt Header="tabItem8" Content="This is the eighth tab item content"/>
35+
<syncfusion:TabItemExt Header="tabItem9" Content="This is the ninth tab item content" />
36+
<syncfusion:TabItemExt Header="tabItem10" Content="This is the tenth tab item content" />
37+
</syncfusion:TabControlExt>
38+
</Grid>
39+
</Border>
40+
41+
<GroupBox Margin="0,0,3,3"
42+
Grid.Column="1"
43+
Header="User Options">
44+
<Grid HorizontalAlignment="Stretch"
45+
VerticalAlignment="Stretch"
46+
Margin="5">
47+
<Grid.RowDefinitions>
48+
<RowDefinition Height="Auto"/>
49+
<RowDefinition Height="Auto"/>
50+
<RowDefinition Height="Auto"/>
51+
</Grid.RowDefinitions>
52+
<Grid.ColumnDefinitions>
53+
<ColumnDefinition Width="*"/>
54+
<ColumnDefinition Width=".7*" />
55+
</Grid.ColumnDefinitions>
56+
57+
<TextBlock Margin="3"
58+
Text ="Single or multiline tab"
59+
Grid.Row="0"
60+
Grid.Column="0"/>
61+
<ComboBox SelectedItem="{Binding TabItemLayout, Mode=TwoWay}"
62+
Grid.Row="0"
63+
Grid.Column="1"
64+
Margin="3">
65+
<syncfusion:TabItemLayoutType>SingleLine</syncfusion:TabItemLayoutType>
66+
<syncfusion:TabItemLayoutType>MultiLine</syncfusion:TabItemLayoutType>
67+
<syncfusion:TabItemLayoutType>MultiLineWithFullWidth</syncfusion:TabItemLayoutType>
68+
</ComboBox>
69+
70+
<TextBlock Margin="3"
71+
Text ="Allow DragDrop"
72+
Grid.Row="1"
73+
Grid.Column="0"/>
74+
<CheckBox IsChecked="{Binding AllowDragDrop, Mode=TwoWay}"
75+
Grid.Row="1"
76+
Grid.Column="1"
77+
Margin="3"/>
78+
79+
<TextBlock Margin="3"
80+
Text ="DragMarker Color"
81+
Grid.Row="2"
82+
Grid.Column="0"/>
83+
<syncfusion:ColorPicker Brush="{Binding DragMarkerColor, Mode=TwoWay}"
84+
Grid.Row="2"
85+
Grid.Column="1"
86+
Margin="3"/>
87+
</Grid>
88+
</GroupBox>
89+
</Grid>
90+
</Window>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using System.Windows;
7+
using System.Windows.Controls;
8+
using System.Windows.Data;
9+
using System.Windows.Documents;
10+
using System.Windows.Input;
11+
using System.Windows.Media;
12+
using System.Windows.Media.Imaging;
13+
using System.Windows.Navigation;
14+
using System.Windows.Shapes;
15+
16+
namespace ArranageTabs
17+
{
18+
/// <summary>
19+
/// Interaction logic for MainWindow.xaml
20+
/// </summary>
21+
public partial class MainWindow : Window
22+
{
23+
public MainWindow()
24+
{
25+
InitializeComponent();
26+
}
27+
}
28+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
using System.Reflection;
2+
using System.Resources;
3+
using System.Runtime.CompilerServices;
4+
using System.Runtime.InteropServices;
5+
using System.Windows;
6+
7+
// General Information about an assembly is controlled through the following
8+
// set of attributes. Change these attribute values to modify the information
9+
// associated with an assembly.
10+
[assembly: AssemblyTitle("ArranageTabs")]
11+
[assembly: AssemblyDescription("")]
12+
[assembly: AssemblyConfiguration("")]
13+
[assembly: AssemblyCompany("")]
14+
[assembly: AssemblyProduct("ArranageTabs")]
15+
[assembly: AssemblyCopyright("Copyright © 2020")]
16+
[assembly: AssemblyTrademark("")]
17+
[assembly: AssemblyCulture("")]
18+
19+
// Setting ComVisible to false makes the types in this assembly not visible
20+
// to COM components. If you need to access a type in this assembly from
21+
// COM, set the ComVisible attribute to true on that type.
22+
[assembly: ComVisible(false)]
23+
24+
//In order to begin building localizable applications, set
25+
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
26+
//inside a <PropertyGroup>. For example, if you are using US english
27+
//in your source files, set the <UICulture> to en-US. Then uncomment
28+
//the NeutralResourceLanguage attribute below. Update the "en-US" in
29+
//the line below to match the UICulture setting in the project file.
30+
31+
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32+
33+
34+
[assembly: ThemeInfo(
35+
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
36+
//(used if a resource is not found in the page,
37+
// or application resource dictionaries)
38+
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
39+
//(used if a resource is not found in the page,
40+
// app, or any theme specific resource dictionaries)
41+
)]
42+
43+
44+
// Version information for an assembly consists of the following four values:
45+
//
46+
// Major Version
47+
// Minor Version
48+
// Build Number
49+
// Revision
50+
//
51+
// You can specify all the values or you can default the Build and Revision Numbers
52+
// by using the '*' as shown below:
53+
// [assembly: AssemblyVersion("1.0.*")]
54+
[assembly: AssemblyVersion("1.0.0.0")]
55+
[assembly: AssemblyFileVersion("1.0.0.0")]

0 commit comments

Comments
 (0)