devexpress

Problem with TdxComponentPrinter (Delphi)

主宰稳场 提交于 2020-01-17 02:41:29
问题 TdxComponentPrinter is a componenet that allow me print a TPanel on a paper. But there is problem and when the panel contains TImage, the background of the image will be converted to black in the paper. Before print : After print (on the paper) : I have tried different ways to solve this problem. for example i used Repaint; method of TPanel,... but doesn't work and the background of image is still black. I don't know why!!! Help me please. 回答1: This is a png file, which might not be supported

WPF DevExpress TextEdit - “ * ” for Password input

送分小仙女□ 提交于 2020-01-16 09:22:27
问题 how I can use TextEdit component for passwords input?I want to se some "*" or "#" or another symbol when I type the password. Is there some property, where i can set such a thing? 回答1: I would recommend the PasswordBox control... 回答2: Try: TextEdit.Properties.PasswordChar = '*' 来源: https://stackoverflow.com/questions/1867214/wpf-devexpress-textedit-for-password-input

wpf devexpress

人盡茶涼 提交于 2020-01-15 04:47:06
背景 winform切为wpf,使用devexpress插件 参考的网站为: https://docs.devexpress.com/WPF/7875/wpf-controls 1.GridControl行号设置 这里主要有两个问题,一个是行号要从1开始,二是行号这一列的行宽设置(默认行宽到100后,数字就显示不全了) 行宽是IndicatorWidth 属性,行号是RowIndicatorContentTemplate 实现 <dxg:TableView ShowGroupPanel="False" Name="gvTable" IndicatorWidth="50" RowIndicatorContentTemplate="{StaticResource rowIndicatorContentTemplate}"/> <DataTemplate x:Key="rowIndicatorContentTemplate"> <StackPanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> <TextBlock Text="{Binding Path=RowHandle.Value,Converter={StaticResource rowIndicatorConverter}}" TextAlignment=

Allowing user selected Global Theme for winform app

本小妞迷上赌 提交于 2020-01-14 12:39:40
问题 I am using DevExpress controls in a winform app I am building for internal use. My app has about 30 forms in total and I am trying to figure out a way to allow my user's to select a theme. I have seen this mentioned here at SO multiple times in answers to other posts. I understand how the StyleController works, I believe, but what I am wondering is how I can use 1 Style controller for the whole app. Right now I am trying to create 1 StlyeController at the Shell form and then pass a reference

Could not load file or assembly after upgrading DevExpress

◇◆丶佛笑我妖孽 提交于 2020-01-14 06:46:13
问题 I've been tearing my hair out over this one, and hopefully it'll be something simple that I'm too thick to work out for myself. We've got a ASP.NET website (IIS7.5, Server 2008R2) that uses the wonderful DevExpress ASP modules. All was working fine until I had the bright idea of upgrading the modules from 10.1.4 to 10.1.7. Ever since, the site throws intermittent but regular errors that it: Could not load file or assembly 'DevExpress.Data.v10.1, Version=10.1.4.0, Culture=neutral,

How to show prices in the format 0,00(ie for hundred 100,00)

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-13 11:28:30
问题 hii, I am using devexpress grid control.In my grid there are price tabs,in that i want the prices column to show in the format 0,00....ie if my price is 3000 then it should show 3.000,00...help me please...It is for winforms and the frontend is c#. 回答1: The DevExpress controls are rich and complex and there are a number of ways to do this. The simplest is probably to set a column's display format as follows: gridColumn.DisplayFormat.FormatString = "N2"; gridColumn.DisplayFormat.FormatType =

DevExpress的下拉框控件ComboxBoxEdit怎样绑定键值对选项

被刻印的时光 ゝ 提交于 2020-01-12 00:53:38
场景 DevExpress的下拉框控件ComboBoxEdit控件的使用: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/102855898 在设置ComboBoxEdit的下拉框内容时除了最简单的 comboBox.Properties.Items.Add("下拉选项1"); 如果要添加键值对形式的数据该怎样实现。 注: 博客主页: https://blog.csdn.net/badao_liumang_qizhi 关注公众号 霸道的程序猿 获取编程相关电子书、教程推送与免费下载。 实现 即在Add选项时添加的不是普通的字符串,而是一个对象实体类,里面有 键值对两个属性,在添加选项时是添加一个个的对象。 为了在显示时显示对象的value,需呀重写对象的toString方法,使其 返回value。 新建实体类对象,必须要重写其toString方法。 public class ControlModelItem { public ControlModelItem(string key,string value) { this.key = key; this.value = value; } private string key; public string Key { get { return key; } set

How far did DevExpress get with Javascript refactoring?

筅森魡賤 提交于 2020-01-10 10:32:53
问题 Over a year ago, I remember watching one of DevExpress evangelists previewing or at least promoting rich Javascript refactoring (beyond just limited intellisense) within the Visual Studio shell, I recall part of CodeRush/DevExpress product line. I was excited. On checking today (lmgtfy) I can find only very very limited reference to it, just one small italtic line about beta in product description, no videos, no blog posts, no community buzz. Was it dropped? Vapourware? Poor implementation

How far did DevExpress get with Javascript refactoring?

风格不统一 提交于 2020-01-10 10:32:46
问题 Over a year ago, I remember watching one of DevExpress evangelists previewing or at least promoting rich Javascript refactoring (beyond just limited intellisense) within the Visual Studio shell, I recall part of CodeRush/DevExpress product line. I was excited. On checking today (lmgtfy) I can find only very very limited reference to it, just one small italtic line about beta in product description, no videos, no blog posts, no community buzz. Was it dropped? Vapourware? Poor implementation

How far did DevExpress get with Javascript refactoring?

元气小坏坏 提交于 2020-01-10 10:32:36
问题 Over a year ago, I remember watching one of DevExpress evangelists previewing or at least promoting rich Javascript refactoring (beyond just limited intellisense) within the Visual Studio shell, I recall part of CodeRush/DevExpress product line. I was excited. On checking today (lmgtfy) I can find only very very limited reference to it, just one small italtic line about beta in product description, no videos, no blog posts, no community buzz. Was it dropped? Vapourware? Poor implementation