mirror of
https://github.com/maker-community/ElectronBot.DotNet.git
synced 2026-10-29 05:10:45 +08:00
update chat
This commit is contained in:
@@ -34,12 +34,27 @@
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
<myconverters:UtcToLocalTimeConverter x:Key="UtcToLocalTimeConverter" />
|
||||
<!--<DataTemplate x:Key="ImageTemplate" x:DataType="models:Conversation">
|
||||
<ItemContainer
|
||||
Width="200"
|
||||
Height="140"
|
||||
HorizontalAlignment="Left">
|
||||
<Image
|
||||
Margin="4"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
AutomationProperties.AccessibilityView="Raw"
|
||||
Source="{x:Bind ImageLocation}"
|
||||
Stretch="UniformToFill" />
|
||||
</ItemContainer>
|
||||
</DataTemplate>-->
|
||||
|
||||
</Page.Resources>
|
||||
<Grid x:Name="ContentArea">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto" />
|
||||
<ColumnDefinition Width="*" />
|
||||
<ColumnDefinition Width="auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ListView
|
||||
x:Name="ConvList"
|
||||
@@ -72,5 +87,14 @@
|
||||
ViewModel="{x:Bind ViewModel, Mode=OneWay}" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="2">
|
||||
<ItemsView
|
||||
Width="220"
|
||||
Height="400"
|
||||
HorizontalAlignment="Left"
|
||||
IsItemInvokedEnabled="True"
|
||||
ItemInvoked="BasicItemsView_ItemInvoked"
|
||||
ItemTemplate="{StaticResource ImageTemplate}" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
||||
Reference in New Issue
Block a user