- SofaAdditionalExamples_-_Step_by_Step.zip
- Examples
- Step by step SofaComponization
- 0. Original CSWPFMasterDetailBinding
- 1. From Application To Component
- 2. From Simple Component to sub-Components
- 3. About Perspectives
- External dependencies
- log4net.dll
- Mef.Codeplex
- System.ComponentModel.Composition.Codeplex.dll
- System.ComponentModel.Composition.Registration.dll
- System.Reflection.Context.dll
- Prism.Mef_Codeplex
- Microsoft.Practices.Prism.dll
- Microsoft.Practices.Prism.Interactivity.dll
- Microsoft.Practices.Prism.MefExtensions.dll
- Microsoft.Practices.Prism.UnityExtensions.dll
- Microsoft.Practices.ServiceLocation.dll
- Microsoft.Practices.Unity.dll
- Microsoft.Practices.Unity.Interception.dll
- WPFToolkit.dll
- Libraries
- ExternalFrameworks.dll
- Sofa.Commons.dll
- Sofa.Component.dll
- Sofa.Container.dll
- Sofa.Themes.dll
|
/************************************* Module Header **************************************\
* Module Name: MainWindow.xaml.cs
* Project: CSWPFMasterDetailBinding
* Copyright (c) Microsoft Corporation.
*
* This example demonstrates how to do master/detail data binding in WPF.
*
*
* This source is subject to the Microsoft Public License.
* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
* All other rights reserved.
*
* History:
* * 10/29/2009 3:00 PM Zhi-Xin Created
*
\******************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.ComponentModel.Composition;
namespace CSWPFMasterDetailBinding
{
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
[Export("Sofa.Examples.SofaComponization.MainComponent_ViewContract", typeof(UserControl))]
[ExportMetadata("ProductName", "CustomerList")]
[ExportMetadata("AvalonContentType", "DockableContent")]
[ExportMetadata("AvalonPaneGroup", "RightSide")]
[ExportMetadata("IfExists_DefaultValue", "DoNotUseIt")]
[ExportMetadata("ImageURI", "")]
[ExportMetadata("Label", "Customer List")]
[ExportMetadata("DockId", 0)]
public partial class CustomerListComponent : UserControl
{
public CustomerListComponent()
{
InitializeComponent();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.