Commit 515bb9e4 by liulongfei

样式调整

parent 0d425378
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="30"></ColumnDefinition> <ColumnDefinition Width="30"></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<dxe:TextEdit x:Name="PART_Text" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"></dxe:TextEdit> <dxe:TextEdit x:Name="PART_Text" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"
Background="Transparent" ShowBorder="False"></dxe:TextEdit>
<Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button> <Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
mc:Ignorable="d" mc:Ignorable="d"
d:DesignHeight="30" d:DesignWidth="200"> d:DesignHeight="30" d:DesignWidth="200">
<Grid> <Grid>
<dxe:TextEdit x:Name="PART_Text" Margin="1" <dxe:TextEdit x:Name="PART_Text" Margin="1" Background="Transparent" ShowBorder="False"
MaskType="Numeric" EditValueChanged="EditValueChanged"></dxe:TextEdit> MaskType="Numeric" EditValueChanged="EditValueChanged"></dxe:TextEdit>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
<ColumnDefinition Width="30"></ColumnDefinition> <ColumnDefinition Width="30"></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Image Width="16" Height="16" Source="/VIZ.Package.Module.Resource;component/Icons/image_20x20.png"></Image> <Image Width="16" Height="16" Source="/VIZ.Package.Module.Resource;component/Icons/image_20x20.png"></Image>
<dxe:TextEdit x:Name="PART_Text" Grid.Column="1" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"></dxe:TextEdit> <dxe:TextEdit x:Name="PART_Text" Grid.Column="1" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"
Background="Transparent" ShowBorder="False"></dxe:TextEdit>
<Button x:Name="PART_Show" Content=".." Grid.Column="2" Click="EditClick"></Button> <Button x:Name="PART_Show" Content=".." Grid.Column="2" Click="EditClick"></Button>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
<ColumnDefinition Width="30"></ColumnDefinition> <ColumnDefinition Width="30"></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Image Width="16" Height="16" Source="/VIZ.Package.Module.Resource;component/Icons/image_20x20.png"></Image> <Image Width="16" Height="16" Source="/VIZ.Package.Module.Resource;component/Icons/image_20x20.png"></Image>
<dxe:TextEdit x:Name="PART_Text" Grid.Column="1" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"></dxe:TextEdit> <dxe:TextEdit x:Name="PART_Text" Grid.Column="1" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"
Background="Transparent" ShowBorder="False"></dxe:TextEdit>
<Button x:Name="PART_Show" Content=".." Grid.Column="2" Click="EditClick"></Button> <Button x:Name="PART_Show" Content=".." Grid.Column="2" Click="EditClick"></Button>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
mc:Ignorable="d" mc:Ignorable="d"
d:DesignHeight="30" d:DesignWidth="200"> d:DesignHeight="30" d:DesignWidth="200">
<Grid> <Grid>
<dxe:TextEdit x:Name="PART_Text" Margin="1" <dxe:TextEdit x:Name="PART_Text" Margin="1" Background="Transparent" ShowBorder="False"
MaskType="Numeric" Mask="d" EditValueChanged="EditValueChanged"></dxe:TextEdit> MaskType="Numeric" Mask="d" EditValueChanged="EditValueChanged"></dxe:TextEdit>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="30"></ColumnDefinition> <ColumnDefinition Width="30"></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<dxe:TextEdit x:Name="PART_Text" EditValueChanged="EditValueChanged" Margin="1"></dxe:TextEdit> <dxe:TextEdit x:Name="PART_Text" EditValueChanged="EditValueChanged" Margin="1"
Background="Transparent" ShowBorder="False"></dxe:TextEdit>
<Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button> <Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="30"></ColumnDefinition> <ColumnDefinition Width="30"></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<dxe:TextEdit x:Name="PART_Text" EditValueChanged="EditValueChanged" Margin="1"></dxe:TextEdit> <dxe:TextEdit x:Name="PART_Text" EditValueChanged="EditValueChanged" Margin="1"
Background="Transparent" ShowBorder="False"></dxe:TextEdit>
<Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button> <Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -20,7 +20,8 @@ ...@@ -20,7 +20,8 @@
<ColumnDefinition Width="*"></ColumnDefinition> <ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="30"></ColumnDefinition> <ColumnDefinition Width="30"></ColumnDefinition>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<dxe:TextEdit x:Name="PART_Text" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"></dxe:TextEdit> <dxe:TextEdit x:Name="PART_Text" IsReadOnly="True" EditValueChanged="EditValueChanged" Margin="1"
Background="Transparent" ShowBorder="False"></dxe:TextEdit>
<Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button> <Button x:Name="PART_Show" Content=".." Grid.Column="1" Click="EditClick"></Button>
</Grid> </Grid>
</local:ListCellEditBase> </local:ListCellEditBase>
...@@ -127,8 +127,8 @@ ...@@ -127,8 +127,8 @@
IsColumnMenuEnabled="False" IsColumnMenuEnabled="False"
NavigationStyle="Cell" EditorShowMode="MouseDown" ShowVerticalLines="False" NavigationStyle="Cell" EditorShowMode="MouseDown" ShowVerticalLines="False"
ShowHorizontalLines="False" ShowHorizontalLines="False"
AlternateRowBackground="#11ffffff" AlternateRowBackground="#05ffffff"
ShowGroupPanel="False" ShowGroupPanel="False" RowMinHeight="24"
AllowDrop="True" AllowDrop="True"
ShowBandsPanel="False" ShowBandsPanel="False"
ShowTotalSummary="False" ShowTotalSummary="False"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
IsColumnMenuEnabled="False" IsColumnMenuEnabled="False"
NavigationStyle="Row" ShowVerticalLines="False" NavigationStyle="Row" ShowVerticalLines="False"
ShowHorizontalLines="False" ShowHorizontalLines="False"
AlternateRowBackground="#11ffffff" AlternateRowBackground="#05ffffff"
ShowBandsPanel="False" ShowBandsPanel="False"
ShowTotalSummary="False" ShowTotalSummary="False"
ShowFixedTotalSummary="False" ShowFixedTotalSummary="False"
......
...@@ -312,7 +312,7 @@ ...@@ -312,7 +312,7 @@
NavigationStyle="Cell" ShowVerticalLines="False" ShowHorizontalLines="False" NavigationStyle="Cell" ShowVerticalLines="False" ShowHorizontalLines="False"
ShowGroupPanel="False" EditorShowMode="MouseDown" ShowGroupPanel="False" EditorShowMode="MouseDown"
AllowDragDrop="True" AllowDragDrop="True"
AlternateRowBackground="#11ffffff" AlternateRowBackground="#05ffffff"
ShowBandsPanel="False" ShowBandsPanel="False"
ShowTotalSummary="False" ShowTotalSummary="False"
ShowFixedTotalSummary="False" ShowFixedTotalSummary="False"
......
...@@ -56,6 +56,8 @@ ...@@ -56,6 +56,8 @@
<dxg:GridColumn.CellTemplate> <dxg:GridColumn.CellTemplate>
<DataTemplate> <DataTemplate>
<Grid Background="{Binding Path=Row.IsOpen,Converter={StaticResource RowHandleBgConverter}}"> <Grid Background="{Binding Path=Row.IsOpen,Converter={StaticResource RowHandleBgConverter}}">
<Rectangle Fill="{Binding Path=Row.IsTake,Converter={StaticResource RowHandleTakeConverter}}"
Width="10" HorizontalAlignment="Left"></Rectangle>
<TextBlock Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding RowData.RowHandle,Converter={StaticResource RowHandleConverter}}"></TextBlock> <TextBlock Foreground="White" VerticalAlignment="Center" HorizontalAlignment="Center" Text="{Binding RowData.RowHandle,Converter={StaticResource RowHandleConverter}}"></TextBlock>
</Grid> </Grid>
</DataTemplate> </DataTemplate>
...@@ -89,7 +91,7 @@ ...@@ -89,7 +91,7 @@
<dxg:TableView IsColumnMenuEnabled="False" RowMinHeight="69.5" <dxg:TableView IsColumnMenuEnabled="False" RowMinHeight="69.5"
AllowEditing="True" ShowIndicator="False" AllowEditing="True" ShowIndicator="False"
NavigationStyle="Cell" ShowVerticalLines="False" ShowHorizontalLines="False" NavigationStyle="Cell" ShowVerticalLines="False" ShowHorizontalLines="False"
AlternateRowBackground="#11ffffff" AlternateRowBackground="#05ffffff"
ShowGroupPanel="False" EditorShowMode="MouseDown" ShowGroupPanel="False" EditorShowMode="MouseDown"
AllowDragDrop="True" AllowDragDrop="True"
ShowBandsPanel="False" ShowBandsPanel="False"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment