add seperator stying
This commit is contained in:
@@ -59,7 +59,7 @@ public partial class App :
|
||||
IEnumerable<IWidgetViewModel> viewModels)
|
||||
{
|
||||
yield return (WidgetContainerViewModel)ActivatorUtilities.CreateInstance(widgetContext.ServiceProvider,
|
||||
typeof(WidgetContainerViewModel), viewModels, index % 2 == 0);
|
||||
typeof(WidgetContainerViewModel), viewModels, index % 2 == 1);
|
||||
|
||||
index++;
|
||||
}
|
||||
|
||||
@@ -11,8 +11,9 @@
|
||||
</Grid.ColumnDefinitions>
|
||||
<Rectangle
|
||||
Width="1"
|
||||
Margin="6,0,6,0"
|
||||
Fill="Red" />
|
||||
Margin="6,8,6,8"
|
||||
Fill="{ThemeResource DividerStrokeColorDefaultBrush}"
|
||||
Visibility="{Binding Alternate}" />
|
||||
<ItemsControl
|
||||
Grid.Column="1"
|
||||
ItemTemplateSelector="{Binding Converter={ui:DataTemplateConverter}}"
|
||||
|
||||
Reference in New Issue
Block a user