<kino:Form Width="500"
HorizontalAlignment="Left">
<kino:Form.Resources>
<Style TargetType="kino:FormItem"
x:Key="FromItemStyle"
BasedOn="{StaticResource ControlPanelFromItemStyle}">
<Setter Property="Margin"
Value="8" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="kino:FormItem">
<StackPanel x:Name="Root">
<ContentPresenter Content="{TemplateBinding Label}"
ContentTemplate="{TemplateBinding LabelTemplate}" />
<ContentPresenter Margin="{TemplateBinding Padding}"
x:Name="ContentPresenter"
Height="50" />
<ContentPresenter Visibility="{Binding Description,RelativeSource={RelativeSource Mode=TemplatedParent},Converter={StaticResource NullToValueConverter},ConverterParameter=Collapsed,FallbackValue=Visible}"
Margin="0,2,0,0"
Content="{TemplateBinding Description}"
TextBlock.Foreground="{Binding Source={x:Static SystemColors.GrayTextBrush}}" />
</StackPanel>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<ItemsPanelTemplate x:Key="ItemsPanelTemplate">
<UniformGrid Rows="1" />
</ItemsPanelTemplate>
</kino:Form.Resources>
<Expander kino:Form.IsItemItsOwnContainer="True"
Header="用户信息"
IsExpanded="True">
<kino:Form Grid.IsSharedSizeScope="False"
Padding="0"
ItemContainerStyle="{StaticResource FromItemStyle}"
ItemsPanel="{StaticResource ItemsPanelTemplate}">
<TextBox kino:Form.Label="用户名" />
<TextBox kino:Form.Label="级别" />
<TextBox kino:Form.Label="备注" />
</kino:Form>
</Expander>
<Expander kino:Form.IsItemItsOwnContainer="True"
Header="其它信息"
IsExpanded="True">
<kino:Form Grid.IsSharedSizeScope="False"
Padding="0"
ItemContainerStyle="{StaticResource FromItemStyle}"
ItemsPanel="{StaticResource ItemsPanelTemplate}">
<TextBox kino:Form.Label="学校" />
<TextBox kino:Form.Label="职业" />
<TextBox kino:Form.Label="证书" />
</kino:Form>
</Expander>
<Expander kino:Form.IsItemItsOwnContainer="True"
Header="住址信息"
IsExpanded="True">
<kino:Form Grid.IsSharedSizeScope="False"
Padding="0"
ItemContainerStyle="{StaticResource FromItemStyle}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
</Grid>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<TextBox kino:Form.Label="邮编" />
<kino:FormItem Label="住址"
Grid.Column="1"
Grid.ColumnSpan="2">
<TextBox />
</kino:FormItem>
</kino:Form>
</Expander>
</kino:Form>
没有合适的资源?快使用搜索试试~ 我知道了~
Kino.Toolkit.Wpf 是一组简单实用的 WPF 控件与工具,用于介绍自定义控件的入门
共337个文件
cs:159个
xaml:74个
txt:50个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 58 浏览量
2024-03-26
10:11:30
上传
评论
收藏 719KB ZIP 举报
温馨提示
Kino.Toolkit.Wpf 是一组简单实用的 WPF 控件与工具,用于介绍自定义控件的入门。
资源推荐
资源详情
资源评论
收起资源包目录
Kino.Toolkit.Wpf 是一组简单实用的 WPF 控件与工具,用于介绍自定义控件的入门 (337个子文件)
ClassDiagram1.cd 448B
packages.config 768B
packages.config 768B
packages.config 385B
packages.config 261B
App.config 184B
App.config 178B
PagedCollectionView.cs 167KB
DataPager.cs 81KB
GlobalSuppressions.cs 45KB
CollectionViewWrapper.cs 34KB
CollectionViewGroupInternal.cs 29KB
DataGridHeaderBorder.cs 29KB
CollectionViewGroupRoot.cs 25KB
DomainCollectionView.cs 23KB
SystemDropShadowChrome.cs 21KB
SystemDropShadowChrome.cs 17KB
TransitioningContentControl.cs 16KB
VisualTreeExtensions.cs 16KB
ExtendedStackPanel.cs 15KB
TypeHelper.cs 14KB
VisualStates.cs 13KB
CSharpFormat.cs 13KB
Airport.cs 12KB
Employee.cs 12KB
PagedCollectionViewBase.cs 12KB
XamlFormat.cs 11KB
Resizer.cs 9KB
Form.Properties.cs 8KB
Extensions.cs 8KB
PagedCollectionViewResources.Designer.cs 8KB
TextBlockService.cs 7KB
PagerResources.Designer.cs 7KB
SourceCodeBox.cs 7KB
Form.cs 6KB
WindowService.cs 6KB
DomainServicesResources.Designer.cs 5KB
ExtendedRibbonWindow.cs 5KB
VisualTargetPresentationSource.cs 5KB
XamlFormatter.cs 4KB
FormItem.cs 4KB
RemoteCollectionViewLoader.cs 4KB
ExtendedListBoxItem.cs 4KB
WindowService.WindowCommandHelper.cs 4KB
StateIndicator.cs 4KB
ExtendedWindow.cs 4KB
DpiHelper.cs 4KB
Resources.Designer.cs 4KB
TextBlockHighlightSource.cs 3KB
AsyncRemoteCollectionView.cs 3KB
SignInView.xaml.cs 3KB
CurdSample.xaml.cs 3KB
IPagedCollectionView.cs 3KB
SelectionCheckBox.cs 3KB
RemoteCollectionView.cs 3KB
WeakEventListener.cs 3KB
HyperlinkButton.cs 3KB
CollectionViewLoader.cs 3KB
ProgressRing.cs 3KB
TransitioningContentControlSample.xaml.cs 3KB
WindowSample.xaml.cs 3KB
Resources.Designer.cs 3KB
Resources.Designer.cs 3KB
Resources.Designer.cs 3KB
AsyncRemoteCollectionViewLoader.cs 3KB
ExtendedHeaderedContentControl.cs 3KB
ExtendedButton.cs 3KB
LiveExplorerTreeViewItem.cs 3KB
MainWindow.xaml.cs 3KB
PasswordBoxHelper.cs 3KB
TestRemoteService.cs 3KB
ExpandableContentControl.cs 2KB
ExpanderSample.xaml.cs 2KB
TestCurdService.cs 2KB
SampleSection.cs 2KB
TemplateSettingValues.cs 2KB
ButtonSample.xaml.cs 2KB
SkeletonScreen.cs 2KB
CodeBox.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
AssemblyInfo.cs 2KB
FocusService.cs 2KB
AssemblyInfo.cs 2KB
PagingSample.xaml.cs 2KB
WindowParameters.cs 2KB
EmptyObjectToVisibilityConverter.cs 2KB
FormItemSample.xaml.cs 2KB
FunctionalProgramming.cs 2KB
RadioButtonMenuItem.cs 2KB
FormSampleWindow.xaml.cs 2KB
FrameworkElementService.cs 2KB
SamplePage.cs 2KB
EmptyObjectToObjectConverter.cs 2KB
TestModelWindow.xaml.cs 2KB
CustomControl1.cs 2KB
TextBlockHightlighSourceConverter.cs 2KB
PageTitle.cs 2KB
BoolToObjectConverter.cs 2KB
StateIndicatorSample.xaml.cs 2KB
共 337 条
- 1
- 2
- 3
- 4
资源评论
Java程序员-张凯
- 粉丝: 1w+
- 资源: 6797
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 2023-04-06-项目笔记 - 第一百五十四阶段 - 4.4.2.152全局变量的作用域-152 -2024.06.04
- 松哥解协议松哥解协议松哥解协议松哥解协议松哥解协议
- 618节日618节日618节日
- tensorflow-gpu-2.9.1-cp37-cp37m-win-amd64.whl
- tensorflow-gpu-2.9.0-cp37-cp37m-win-amd64.whl
- tensorflow-gpu-2.9.0-cp39-cp39-win-amd64.whl
- lcd daimalcd daima
- 电影领域-推荐算法-个性化内容-观影决策-电影推荐小程序.zip
- 电气控制PLC考试题库
- 如何使用MATLAB简介
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功