-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOptions.xaml
20 lines (20 loc) · 1.23 KB
/
Options.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<ResourceDictionary
x:Class="GrowersAstro.NINA.GrowersSequencerPowerups.Options"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- This data template will be displayed in N.I.N.A. on the options->plugin tab with the datacontext of the TestPlugin instance -->
<!-- In order for this datatemplate to be picked correctly, the key has to follow the naming convention of <IPlugin.Name>_Options -->
<!-- Furthermore the Resource Dictionary has to be exported via code behind export attributes -->
<DataTemplate x:Key="Growers Sequencer Powerups_Options">
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<TextBlock Text="Default Notification Message" />
<TextBox MinWidth="50" Text="{Binding DefaultNotificationMessage}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Profile Specific Notification Message" />
<TextBox MinWidth="50" Text="{Binding ProfileSpecificNotificationMessage}" />
</StackPanel>
</StackPanel>
</DataTemplate>
</ResourceDictionary>