随笔分类 - wpf
wpf xaml
摘要:<ListBox x:Name="lbx" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"> <ListBox.ItemTemplate> <DataTemplate> <Image S
阅读全文
摘要:<ListBox x:Name="lbx" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding SelectedIdx,Mode=TwoWay
阅读全文
摘要:<Ellipse x:Name="elp" Panel.ZIndex="2" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Width="{Binding ActualHeight,RelativeSource={RelativeSource Mo
阅读全文
摘要://usercontrol.xaml <Grid Grid.Row="1" Grid.RowSpan="2" Grid.Column="0" Panel.ZIndex="0" Background="LightCyan"> <behavior:Interaction.Triggers> <behav
阅读全文
摘要://usercontrol //xaml <UserControl x:Class="WpfApp159.UCRotateCircle" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:/
阅读全文
摘要:<Window x:Class="WpfApp158.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp156.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp156.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要://xaml <UserControl x:Class="WpfApp155.UCLbx" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<DataGrid.ContextMenu> CommandParameter="{Binding Path=PlacementTarget, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ContextM
阅读全文
摘要://usercontrol <UserControl x:Class="WpfApp154.ShowTextBtnUC" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas
阅读全文
摘要://xaml <Window x:Class="WpfApp153.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要://xaml <Window x:Class="WpfApp152.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要://xaml <Window x:Class="WpfApp150.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
摘要:<Window x:Class="WpfApp148.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:<Window x:Class="WpfApp144.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
摘要:Copy from WPFDeveloper using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Syste
阅读全文
摘要://cs using System; using System.Windows; using System.Windows.Controls.Primitives; using System.Windows.Media; namespace WPFDevelopers.Controls { publ
阅读全文
摘要:Copy from WPFDevelopers examples //cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tas
阅读全文
摘要:<Window x:Class="WpfApp137.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文