MCPcopy Create free account
hub / github.com/HO-COOH/FastCopy / SegmentedButton

Class SegmentedButton

FastCopy/SegmentedButton.h:7–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace winrt::FastCopy::implementation
6{
7 struct SegmentedButton : SegmentedButtonT<SegmentedButton>
8 {
9 SegmentedButton() { InitializeComponent(); }
10
11 winrt::Windows::Foundation::IInspectable Content1();
12 void Content1(winrt::Windows::Foundation::IInspectable content1);
13 static winrt::Microsoft::UI::Xaml::DependencyProperty Content1Property();
14
15 winrt::Windows::Foundation::IInspectable Content2();
16 void Content2(winrt::Windows::Foundation::IInspectable content2);
17 static winrt::Microsoft::UI::Xaml::DependencyProperty Content2Property();
18
19 void Button1_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e);
20 void Button2_Click(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e);
21
22 int Selection();
23 void Selection(int value);
24 static winrt::Microsoft::UI::Xaml::DependencyProperty SelectionProperty() { return m_selectionProperty; }
25 private:
26 static winrt::Microsoft::UI::Xaml::DependencyProperty m_content1;
27 static winrt::Microsoft::UI::Xaml::DependencyProperty m_content2;
28 static winrt::Microsoft::UI::Xaml::DependencyProperty m_selectionProperty;
29 };
30}
31
32namespace winrt::FastCopy::factory_implementation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected