Skip to content

Commit 4eb427c

Browse files
authored
Command Binding Sample Added
1 parent bd3057a commit 4eb427c

19 files changed

+658
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.28307.902
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Dropdown_Button_Command_Binding", "Dropdown_Button_Command_Binding\Dropdown_Button_Command_Binding.csproj", "{54450B01-623F-48C1-8D80-D33A99DB75F8}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Debug-Xml|Any CPU = Debug-Xml|Any CPU
12+
Release|Any CPU = Release|Any CPU
13+
Release-Xml|Any CPU = Release-Xml|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Debug-Xml|Any CPU.ActiveCfg = Debug|Any CPU
19+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Debug-Xml|Any CPU.Build.0 = Debug|Any CPU
20+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Release-Xml|Any CPU.ActiveCfg = Release|Any CPU
23+
{54450B01-623F-48C1-8D80-D33A99DB75F8}.Release-Xml|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {3E5852DE-7344-4C90-85DC-F91309D7A3B7}
30+
EndGlobalSection
31+
EndGlobal
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.1" />
5+
</startup>
6+
</configuration>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="Dropdown_Button_Command_Binding.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:Dropdown_Button_Command_Binding"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>
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 Dropdown_Button_Command_Binding
10+
{
11+
/// <summary>
12+
/// Interaction logic for App.xaml
13+
/// </summary>
14+
public partial class App : Application
15+
{
16+
}
17+
}
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
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>{54450B01-623F-48C1-8D80-D33A99DB75F8}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>Dropdown_Button_Command_Binding</RootNamespace>
10+
<AssemblyName>Dropdown_Button_Command_Binding</AssemblyName>
11+
<TargetFrameworkVersion>v4.6.1</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.Shared.WPF">
39+
<SpecificVersion>False</SpecificVersion>
40+
</Reference>
41+
<Reference Include="System" />
42+
<Reference Include="System.Data" />
43+
<Reference Include="System.Xml" />
44+
<Reference Include="Microsoft.CSharp" />
45+
<Reference Include="System.Core" />
46+
<Reference Include="System.Xml.Linq" />
47+
<Reference Include="System.Data.DataSetExtensions" />
48+
<Reference Include="System.Net.Http" />
49+
<Reference Include="System.Xaml">
50+
<RequiredTargetFramework>4.0</RequiredTargetFramework>
51+
</Reference>
52+
<Reference Include="WindowsBase" />
53+
<Reference Include="PresentationCore" />
54+
<Reference Include="PresentationFramework" />
55+
</ItemGroup>
56+
<ItemGroup>
57+
<ApplicationDefinition Include="App.xaml">
58+
<Generator>MSBuild:Compile</Generator>
59+
<SubType>Designer</SubType>
60+
</ApplicationDefinition>
61+
<Page Include="MainWindow.xaml">
62+
<Generator>MSBuild:Compile</Generator>
63+
<SubType>Designer</SubType>
64+
</Page>
65+
<Compile Include="App.xaml.cs">
66+
<DependentUpon>App.xaml</DependentUpon>
67+
<SubType>Code</SubType>
68+
</Compile>
69+
<Compile Include="View Model\DropDownViewModel.cs" />
70+
<Compile Include="MainWindow.xaml.cs">
71+
<DependentUpon>MainWindow.xaml</DependentUpon>
72+
<SubType>Code</SubType>
73+
</Compile>
74+
</ItemGroup>
75+
<ItemGroup>
76+
<Compile Include="Properties\AssemblyInfo.cs">
77+
<SubType>Code</SubType>
78+
</Compile>
79+
<Compile Include="Properties\Resources.Designer.cs">
80+
<AutoGen>True</AutoGen>
81+
<DesignTime>True</DesignTime>
82+
<DependentUpon>Resources.resx</DependentUpon>
83+
</Compile>
84+
<Compile Include="Properties\Settings.Designer.cs">
85+
<AutoGen>True</AutoGen>
86+
<DependentUpon>Settings.settings</DependentUpon>
87+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
88+
</Compile>
89+
<EmbeddedResource Include="Properties\Resources.resx">
90+
<Generator>ResXFileCodeGenerator</Generator>
91+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
92+
</EmbeddedResource>
93+
<None Include="Properties\Settings.settings">
94+
<Generator>SettingsSingleFileGenerator</Generator>
95+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
96+
</None>
97+
</ItemGroup>
98+
<ItemGroup>
99+
<None Include="App.config" />
100+
</ItemGroup>
101+
<ItemGroup>
102+
<Resource Include="Images\canada.png" />
103+
<Resource Include="Images\china.png" />
104+
<Resource Include="Images\flaglarge.png" />
105+
<Resource Include="Images\france.png" />
106+
<Resource Include="Images\germany.png" />
107+
<Resource Include="Images\india.png" />
108+
</ItemGroup>
109+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
110+
</Project>
350 Bytes
Loading
499 Bytes
Loading
1.06 KB
Loading
125 Bytes
Loading
333 Bytes
Loading

0 commit comments

Comments
 (0)