穿梭选择框用直观的方式在两栏中移动元素,完成选择行为。
1 | [] |
1 | [] |
属性
| 属性 | 描述 | 默认值 | 备注 |
|---|---|---|---|
| SelectedItems | 选中项 |
事件
| 名称 | 说明 |
|---|---|
| SelectionChanged | 选中项改变时触发 |
案例
1 | <hc:Transfer ItemsSource="{Binding DataList}" Margin="32" Height="300"> |

everything can be handy
穿梭选择框用直观的方式在两栏中移动元素,完成选择行为。
1 | [DefaultProperty("Items")] |
1 | [TemplatePart(Name = ElementItemsOrigin, Type = typeof(SimpleItemsControl))] |
| 属性 | 描述 | 默认值 | 备注 |
|---|---|---|---|
| SelectedItems | 选中项 |
| 名称 | 说明 |
|---|---|
| SelectionChanged | 选中项改变时触发 |
1 | <hc:Transfer ItemsSource="{Binding DataList}" Margin="32" Height="300"> |
