在WPF中有时间的设定,可是在B/S中,没有显示时间的设定?有没有?有什么办法?控制显示时间?
<TextBlock Style="{StaticResource TextBlock_12}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Text="{Binding TargetName}" TextWrapping="Wrap" ToolTipService.ToolTip="{Binding ScoreStandardLong}"></TextBlock>
<c1:C1DataGrid Grid.Row="1" Name="LevelStandardDataGrid" C1DataGridStyle_Two}" FilterStyle="{StaticResource C1DataGridStyle_Two}"
>
<c1:C1DataGrid.Columns>
<c1:DataGridTextColumn Name="TargetID" Header="指标" IsReadOnly="True" Visibility="Collapsed" Binding="{Binding KeyID,Mode=TwoWay}" ></c1:DataGridTextColumn>
<c1:DataGridTemplateColumn Name="TargetName" Header="指标" Width="150">
<c1:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Style="{StaticResource TextBlock_12}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Text="{Binding TargetName}" TextWrapping="Wrap" ToolTipService.ToolTip="{Binding ScoreStandardLong}"></TextBlock>
</DataTemplate>
</c1:DataGridTemplateColumn.CellTemplate>
</c1:DataGridTemplateColumn>
</c1:C1DataGrid.Columns>
</c1:C1DataGrid>
C1DATAGRID可以理解为普通的DATAGRID控件。
------解决方案--------------------------------------------------------
lightbus 里面用了一个 tooltip的dll 你看看能用不