feat: add scrollviewer to dialog demo.
This commit is contained in:
@@ -12,6 +12,7 @@
|
|||||||
x:DataType="vm:DialogDemoViewModel"
|
x:DataType="vm:DialogDemoViewModel"
|
||||||
mc:Ignorable="d">
|
mc:Ignorable="d">
|
||||||
<Grid ColumnDefinitions="Auto, *">
|
<Grid ColumnDefinitions="Auto, *">
|
||||||
|
<ScrollViewer>
|
||||||
<TabControl Grid.Column="0" TabStripPlacement="Left">
|
<TabControl Grid.Column="0" TabStripPlacement="Left">
|
||||||
<TabItem Header="Default Window Dialog">
|
<TabItem Header="Default Window Dialog">
|
||||||
<u:Form
|
<u:Form
|
||||||
@@ -56,10 +57,10 @@
|
|||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock Text="Style Class" />
|
<TextBlock Text="Style Class" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Theme="{StaticResource InnerPathIcon}"
|
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
TextElement.FontWeight="Normal"
|
|
||||||
Data="{DynamicResource SemiIconHelpCircle}"
|
Data="{DynamicResource SemiIconHelpCircle}"
|
||||||
|
TextElement.FontWeight="Normal"
|
||||||
|
Theme="{StaticResource InnerPathIcon}"
|
||||||
ToolTip.Tip="Pass a Style Class to the created Dialog. In this example, if you set StyleClass as 'Custom', You will get Special Style for OK Button. These styles usually are defined in the root of your App/Window" />
|
ToolTip.Tip="Pass a Style Class to the created Dialog. In this example, if you set StyleClass as 'Custom', You will get Special Style for OK Button. These styles usually are defined in the root of your App/Window" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</u:FormItem.Label>
|
</u:FormItem.Label>
|
||||||
@@ -147,10 +148,10 @@
|
|||||||
<StackPanel Orientation="Horizontal">
|
<StackPanel Orientation="Horizontal">
|
||||||
<TextBlock Text="Style Class" />
|
<TextBlock Text="Style Class" />
|
||||||
<PathIcon
|
<PathIcon
|
||||||
Theme="{StaticResource InnerPathIcon}"
|
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
TextElement.FontWeight="Normal"
|
|
||||||
Data="{DynamicResource SemiIconHelpCircle}"
|
Data="{DynamicResource SemiIconHelpCircle}"
|
||||||
|
TextElement.FontWeight="Normal"
|
||||||
|
Theme="{StaticResource InnerPathIcon}"
|
||||||
ToolTip.Tip="Pass a Style Class to the created Dialog. In this example, if you set StyleClass as 'Custom', You will get Special Style for OK Button. These styles usually are defined in the root of your App/Window" />
|
ToolTip.Tip="Pass a Style Class to the created Dialog. In this example, if you set StyleClass as 'Custom', You will get Special Style for OK Button. These styles usually are defined in the root of your App/Window" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</u:FormItem.Label>
|
</u:FormItem.Label>
|
||||||
@@ -195,10 +196,11 @@
|
|||||||
</u:Form>
|
</u:Form>
|
||||||
</TabItem>
|
</TabItem>
|
||||||
</TabControl>
|
</TabControl>
|
||||||
|
</ScrollViewer>
|
||||||
<Grid Grid.Column="1">
|
<Grid Grid.Column="1">
|
||||||
<Border
|
<Border
|
||||||
BorderBrush="{DynamicResource SemiGrey1}"
|
|
||||||
Background="{DynamicResource SemiColorBackground1}"
|
Background="{DynamicResource SemiColorBackground1}"
|
||||||
|
BorderBrush="{DynamicResource SemiGrey1}"
|
||||||
BorderThickness="1"
|
BorderThickness="1"
|
||||||
ClipToBounds="True"
|
ClipToBounds="True"
|
||||||
CornerRadius="12">
|
CornerRadius="12">
|
||||||
|
|||||||
Reference in New Issue
Block a user