You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
814 B
28 lines
814 B
using System;
|
|
using Samples.Infrastructure.Controls;
|
|
using Microsoft.Practices.Prism.Regions;
|
|
|
|
namespace Samples.Modules.Button.Views
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for SplitButtonView.xaml
|
|
/// </summary>
|
|
[RegionMemberLifetime(KeepAlive = false)]
|
|
public partial class SplitButtonView : DemoView
|
|
{
|
|
public SplitButtonView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void SplitButton_Click(object sender, System.Windows.RoutedEventArgs e)
|
|
{
|
|
Microsoft.Windows.Controls.MessageBox.Show("Thanks for clicking me!", "SplitButton Click");
|
|
}
|
|
|
|
private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
|
|
{
|
|
_splitButton.IsOpen = false;
|
|
}
|
|
}
|
|
}
|
|
|