devexpress

How to show custom labels and status on custom appointment window using WPF DevExpress and MVVM

喜欢而已 提交于 2020-12-15 06:14:10
问题 I'm using a Scheduler Control in which I want to create a custom appointment window. My Scheduler Control looks like this: <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="Auto"/> </Grid.ColumnDefinitions> <dxsch:SchedulerControl x:Name="scheduler" ActiveViewType="WeekView" FirstDayOfWeek="Monday" Grid.Column="0"> <dxsch:SchedulerControl.OptionsWindows> <dxsch:OptionsWindows AppointmentWindowType="{x:Type local:CrearTareaWindow}"/> </dxsch

Dynamically adding Devexpress GridControl to C# windows application

我怕爱的太早我们不能终老 提交于 2020-12-08 17:29:52
问题 I want to add Devexpress GridControl dynamically. At runtime I want to show the Filter Row. Also I want to have a button on the same form that has the dynamically created GridControl. When the button is clicked it should show the Filter Dialog popup for the grid control. 回答1: The provided sample does what you ask for. Create a Form called Form1. Create a Button called button1 and Dock it to the top of the form. using System; using System.ComponentModel; using System.Data; using System.Drawing

Dynamically adding Devexpress GridControl to C# windows application

我与影子孤独终老i 提交于 2020-12-08 17:24:05
问题 I want to add Devexpress GridControl dynamically. At runtime I want to show the Filter Row. Also I want to have a button on the same form that has the dynamically created GridControl. When the button is clicked it should show the Filter Dialog popup for the grid control. 回答1: The provided sample does what you ask for. Create a Form called Form1. Create a Button called button1 and Dock it to the top of the form. using System; using System.ComponentModel; using System.Data; using System.Drawing

Dynamically adding Devexpress GridControl to C# windows application

北城余情 提交于 2020-12-08 17:23:40
问题 I want to add Devexpress GridControl dynamically. At runtime I want to show the Filter Row. Also I want to have a button on the same form that has the dynamically created GridControl. When the button is clicked it should show the Filter Dialog popup for the grid control. 回答1: The provided sample does what you ask for. Create a Form called Form1. Create a Button called button1 and Dock it to the top of the form. using System; using System.ComponentModel; using System.Data; using System.Drawing

Dynamically adding Devexpress GridControl to C# windows application

南楼画角 提交于 2020-12-08 17:22:43
问题 I want to add Devexpress GridControl dynamically. At runtime I want to show the Filter Row. Also I want to have a button on the same form that has the dynamically created GridControl. When the button is clicked it should show the Filter Dialog popup for the grid control. 回答1: The provided sample does what you ask for. Create a Form called Form1. Create a Button called button1 and Dock it to the top of the form. using System; using System.ComponentModel; using System.Data; using System.Drawing

Dynamically adding Devexpress GridControl to C# windows application

生来就可爱ヽ(ⅴ<●) 提交于 2020-12-08 17:21:30
问题 I want to add Devexpress GridControl dynamically. At runtime I want to show the Filter Row. Also I want to have a button on the same form that has the dynamically created GridControl. When the button is clicked it should show the Filter Dialog popup for the grid control. 回答1: The provided sample does what you ask for. Create a Form called Form1. Create a Button called button1 and Dock it to the top of the form. using System; using System.ComponentModel; using System.Data; using System.Drawing

How to bind image to GridColumn?

▼魔方 西西 提交于 2020-08-10 19:13:52
问题 I have a GridColumn with FieldName=="Image". Image is a property type of BitmapImage in MyClass, which is assigned in constructor. XAML: <dxg:GridColumn Header="MyImage" ReadOnly="True" VisibleIndex="0" AllowResizing="False" Width="20*" HorizontalHeaderContentAlignment="Center" FieldName="Image"> <dxg:GridColumn.EditSettings> <dxe:ImageEditSettings MaxWidth="15" /> </dxg:GridColumn.EditSettings></dxg:GridColumn> MyClass: public class MyClass { public MyClass(ImageType imageType) { Image =

Unable to load DLL Microsoft.Data.SqlClient.x86.dll (Exception From HRESULT: 0x800707E)

和自甴很熟 提交于 2020-06-29 03:44:12
问题 Describe the bug I am trying to edit connection string on my report using DevExpress winform report wizard when I click on next button I get this error When I try to install latest stable version of Microsoft.Data.SqlClient 1.1.3 I get two different error. 01-With Windows authentication 02-With Server authentication Note: When running the app, all report works fine without any problems. technical details Microsoft.Data.SqlClient version: 2.0.0-preview4.20142.4 Microsoft.Data.SqlClient.SNI

Devexpress column header color (each column different color), winform c#

谁说胖子不能爱 提交于 2020-06-26 07:40:32
问题 I have a GridView and GridControl in winform app (c#) and I have several columns in GridView and I want to set background of header columns. I can do it but it changes all columns in same color. I used that code: gridcntrActic.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Flat; gridcntrActic.LookAndFeel.UseDefaultLookAndFeel = false; gridviewActiv.Appearance.HeaderPanel.Options.UseBackColor = true; gridviewActiv.Appearance.HeaderPanel.BackColor = System.Drawing.Color.White; This

Native type binding source / How to fill a DevExpress GridControl with a List of strings?

别来无恙 提交于 2020-05-18 19:09:19
问题 I normally have no problem with binding a DataSource to a GridControl. I usually so something like this: myGrid.DataSource = myList // BindingList<ComplexObject> colMyStrings.FieldName = "PropertyNameOfComplexObject"; and it works fine. I can add and delete rows from the grid and they will get added to / deleted from the DataSource "myList". So I basically always see what's in my List. But now I don't have a List<ComplexObject> , where the Generic Type has Properties, but I have a List filled