摘要:
在build.gradle文件下添加了android{compileOptions.encoding="GBK"} 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Security; using System.Text; usi 阅读全文
摘要:
/// <summary> /// 垂直方向滚动到顶部 /// </summary> /// <param name="element"></param> /// <param name="scrollViewer"></param> public static void ScrollViewToV 阅读全文
摘要:
<TextBlock Style="{StaticResource WindowsTextBlackStyle}" > <Run Foreground="Red">*</Run> <Run>条码:</Run> </TextBlock> 阅读全文
摘要:
<DataTemplate x:Key="CheckBoxDataTemplate"> <Grid x:Name="Grid" HorizontalAlignment="Center" VerticalAlignment="Center"> <CheckBox Click="CheckBox_Che 阅读全文
摘要:
使用 DataGridRow dr = (DataGridRow)ListGrid.ItemContainerGenerator.ContainerFromItem(item); 有时获取 DataGridRow 为NULL 需要在DataGrid上加属性 VirtualizingStackPane 阅读全文
摘要:
<DataGridCheckBoxColumn Header="选择"> <DataGridCheckBoxColumn.HeaderTemplate> <DataTemplate> <CheckBox x:Name="ckbSelectedAll" Content="全选" Checked="ck 阅读全文
摘要:
<!--Grid 内容网格--> <Style TargetType="{x:Type DataGrid}"> <Setter Property="RowHeaderWidth" Value="0"></Setter> </Style> 阅读全文
摘要:
<UserControl x:Class="Mjj.MyUserControls.LeftMenu" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft 阅读全文
摘要:
//boxItem要移动的控件 DoubleAnimation doubleAnimation = new DoubleAnimation(); doubleAnimation.Duration = new Duration (TimeSpan.FromSeconds(5)); TranslateT 阅读全文