当前位置: 首页 > news >正文

网站制作寻找客户asp一个空间建多个网站系统

网站制作寻找客户,asp一个空间建多个网站系统,深圳外贸网站推广公司,如何修改网站模板内容WPF开发者QQ群#xff1a; 340500857 有小伙伴需要实现ComboBox下拉框带水印#xff0c;并且选择Item内容后水印默认从中间到顶部。Item需要展示图文#xff0c;选择后的数据展示图文。欢迎转发、分享、点赞#xff0c;谢谢大家~。效果如下#xff1a;一、Xaml代码如下 340500857 有小伙伴需要实现ComboBox下拉框带水印并且选择Item内容后水印默认从中间到顶部。Item需要展示图文选择后的数据展示图文。欢迎转发、分享、点赞谢谢大家~。效果如下一、Xaml代码如下 Window.ResourcesStyle TargetTypeToggleButton x:KeyComboxStyleBtnSetter PropertyTemplateSetter.ValueControlTemplateBorder x:NameBack BackgroundTransparentPath NamePathFill FillBlack Width10 Height6 StrokeThickness0 DataM5,0 L10,10 L0,10 z RenderTransformOrigin0.5,0.5 StretchFillPath.RenderTransformTransformGroupScaleTransform/SkewTransform/RotateTransform Angle180/TranslateTransform//TransformGroup/Path.RenderTransform/Path/BorderControlTemplate.TriggersTrigger PropertyIsMouseOver ValueTrueSetter TargetNamePathFill PropertyFill Valuegray/Setter/Trigger/ControlTemplate.Triggers/ControlTemplate/Setter.Value/Setter /StyleStyle TargetTypeComboBox x:KeyComboBoxStyleSetter PropertyItemContainerStyleSetter.ValueStyle TargetTypeComboBoxItemSetter PropertyMinHeight Value22/SetterSetter PropertyMinWidth Value60/SetterSetter PropertyForeground ValueBlack/Setter PropertyTemplateSetter.ValueControlTemplate TargetTypeComboBoxItemBorder NameBack BackgroundWhite BorderThickness0,0,0,0 BorderBrush#81D779 ContentPresenter ContentSource{Binding Source} VerticalAlignmentCenter HorizontalAlignmentLeft/ContentPresenter/BorderControlTemplate.TriggersTrigger PropertyIsHighlighted ValueTrueSetter TargetNameBack PropertyBackground ValuePink/Setter/TriggerTrigger PropertyIsSelected ValueTrueSetter PropertyBackground ValueRed //TriggerTrigger PropertyIsMouseOver ValueTrueSetter PropertyBackground ValueAliceBlue //Trigger/ControlTemplate.Triggers/ControlTemplate/Setter.Value/Setter /Style/Setter.Value/SetterSetter PropertyTemplateSetter.ValueControlTemplate TargetTypeComboBoxGridGrid.ColumnDefinitionsColumnDefinition Width0.7*/ColumnDefinition Width0.3* MaxWidth30//Grid.ColumnDefinitionsTextBlock x:Name_watermark Text已选择emoji Margin60,6,0,0 ForegroundGray Grid.Column0 VerticalAlignmentTop/TextBlockContentPresenter Grid.Column0ContentTemplate{TemplateBinding SelectionBoxItemTemplate} Content{TemplateBinding SelectionBoxItem}VerticalAlignmentCenter Margin2,10,0,0/ContentPresenterBorder Grid.ColumnSpan2 BorderBrush#abadb3 BorderThickness1/ToggleButton Grid.Column1 Style{StaticResource ComboxStyleBtn} IsChecked{Binding PathIsDropDownOpen, ModeTwoWay, RelativeSource{RelativeSource TemplatedParent}} ClickModePress/ToggleButtonPopup IsOpen{TemplateBinding IsDropDownOpen} PlacementBottom x:NamePopup FocusableFalse AllowsTransparencyTrue PopupAnimationSlide Border CornerRadius1 BorderBrush#5A5A5A BorderThickness1,0,1,1 BackgroundWhite MaxHeight{TemplateBinding MaxDropDownHeight} MinWidth{TemplateBinding ActualWidth} x:NameDropDown SnapsToDevicePixelsTrueBorder.EffectDropShadowEffect ColorGray BlurRadius2 ShadowDepth0 Opacity1//Border.EffectScrollViewer Margin0,0,0,0 SnapsToDevicePixelsTrue HorizontalScrollBarVisibilityAuto VerticalScrollBarVisibilityAutoVirtualizingStackPanel IsItemsHostTrue KeyboardNavigation.DirectionalNavigationContained //ScrollViewer/Border/Popup/GridControlTemplate.TriggersTrigger PropertyText Value{x:Null}Setter TargetName_watermark PropertyVerticalAlignment ValueCenter/Setter TargetName_watermark PropertyMargin Value10,0,0,0/Setter TargetName_watermark PropertyText Value请选择emoji//TriggerTrigger PropertyText ValueSetter TargetName_watermark PropertyVerticalAlignment ValueCenter/Setter TargetName_watermark PropertyMargin Value10,0,0,0/Setter TargetName_watermark PropertyText Value请选择emoji//Trigger/ControlTemplate.Triggers/ControlTemplate/Setter.Value/Setter/StyleDataTemplate x:KeycomboBoxItemDataTemplateWrapPanelImage Source{Binding ImagesPath} Width60 Height60/TextBlock Text{Binding Text} VerticalAlignmentCenter Padding4,0//WrapPanel/DataTemplate/Window.ResourcesGridComboBox NamecomboBoxArrayWidth200Height100Style{StaticResource ComboBoxStyle} ItemTemplate{StaticResource comboBoxItemDataTemplate}/ComboBox/Grid 二、Xaml.cs代码如下public partial class MainWindow : Window{public MainWindow(){InitializeComponent();var array new ListItemModel();for (int i 0; i 11; i){array.Add(new ItemModel { ImagesPath new BitmapImage(new Uri(string.Format(pack://application:,,,/WpfComboBox;component/Images/{0}.png, i.ToString()))), Text Item i.ToString() });}this.comboBoxArray.ItemsSource array;}}public class ItemModel{public ImageSource ImagesPath { get; set; }public string Text { get; set; }} 源码地址QQ群-“文件”-“开源项目”- 【水印图文】WpfComboBox.rar“WPF开发者QQ群 340500857 blogs https://www.cnblogs.com/yanjinhuaGithubhttps://github.com/yanjinhuagood出处https://www.cnblogs.com/yanjinhua版权本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。转载请著名作者 出处 https://github.com/yanjinhuagood
http://wiki.neutronadmin.com/news/363354/

相关文章:

  • 免费申请网站永久wordpress landx
  • 从化市网站建设wordpress媒体文件位置
  • 电商网站开发文字教程程序员入门教程
  • 建立网站站点的目的如何用网站做淘宝客
  • 网站推广 昆明杭州建设厅网站
  • 哪个学校设有网站开发专业个人网站可以做音乐吗
  • 百度站内搜索济南区网站开发
  • 网站备案 收费安装wordpress要数据库
  • 做网站建设的有哪些如何备份网站 整站
  • 优享wordpress东莞网站建设优化推广
  • 中山网站建设找阿江详细介绍网站建设的整个流程
  • a站插画怎么在自己的网站上传视频
  • 网站建设以及运营方面上海城乡住房建设部网站首页
  • 濮阳网站建设电话免费微网站与公众号平台对接
  • 地方网站总结做外贸网站买海外域名
  • 天河区做网站公司wordpress4.8.3安装
  • 人跟狗做网站网站建设报价模版
  • 盗版网站是如何做的济南推广网站建设
  • 潍坊市建设工程交易中心网站三拼域名做网站长不长
  • 衡阳市住房和城乡建设局官方网站物流网络平台建设
  • 电子口岸网站做资料库网站外包怎么做
  • 织梦怎么用框架实现在浏览器的地址栏只显示网站的域名而不显示出文件名网站建设丨金手指15
  • asp网站连接数据库北京seo运营推广
  • 网站建设 课程 说明推介网站
  • 网站建设产品需求文档新网站建设方案ppt
  • 柳州网站建设招聘百度招聘
  • 电子商务网站制作公司1688一件代发详细步骤
  • 网站页面设计服务网站构建建设案例展示
  • wordpress写了文章打不开长沙网站seo技术
  • 免费1级做爰网站怎么通过互联网做一个服务的网站