Questions tagged [devexpress-windows-ui]

Questions about controls in DevExpress WinForms libraries

DevExpress is a company that provide the WinForms Controls in order to create rich applications easily.

333 questions
0
votes
1 answer

The method CreateDefaultView () is not called in devexpress GridControl

I have inherited a devexpress GridControl, following all steps from here. There is only one problem, the method CreateDefaultView() is never called. This is the code: public partial class gttDXGridControl : GridControl { public…
GuidoG
  • 11,359
  • 6
  • 44
  • 79
0
votes
1 answer

In devexpress winforms, how can I import data into spreadsheet from a datasource?

Below is my code. Basically I just want to output data into my spreadsheet from a datatable, with its original columns and rows. public Spreadsheet() { InitializeComponent(); Worksheet worksheet =…
Valentine
  • 102
  • 1
  • 3
  • 12
0
votes
1 answer

Devexpress: How to add a control to below the other control in XtraReport

I use XtraReport to show my report. I want to add my chart to below the other one. Here is my code to add a new chart on XtraReport. foreach (Control viewControl in Panel.Controls) { if (viewControl.GetType() == typeof(ChartControl)) { …
cagin
  • 5,772
  • 14
  • 74
  • 130
0
votes
1 answer

Add a combo box to a DevXpress grid dynamically on GridView_RowCellClick

I am using a "DevXpress.XtraGrid.GridView" and I have written following code to display a combo box on a cell. It happens when user clicks on the cell. In Debug or Running mode, code get executed properly but nothing happens. Have I done any mistake…
Kushan Randima
  • 2,174
  • 5
  • 31
  • 58
0
votes
1 answer

DevExpress: How to set programmatically diagram to chart control

I create ChartControl dynamiclly and I have to set Diagram property as dynamiclly. Here is my code: XYDiagram xyDiagram1 = new XYDiagram(); xyDiagram1.AxisX.Title.Text = ""; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; …
cagin
  • 5,772
  • 14
  • 74
  • 130
0
votes
2 answers

Can't find WindowsUIButtonsPanel's button events

I got 2 buttons in my WindowsUIButtonPanel, but I couldn't find button click event. I want to create minimize and close buttons.
0
votes
2 answers

e.value is null on CellValueChanged event on specific column in DevExpress XtraGrid c#

I am updating the Cellvalue of grid in Winforms on CellValueChanged event and it is working very fine for my hundreds of grids but getting null value for the specific column. Below is my code private void gvResults_CellValueChanged(object sender,…
Arslan Elahi
  • 111
  • 1
  • 2
  • 12
0
votes
2 answers

C#: how to change the tileview backcolor when an event triggered during the running time?

I was trying to change the back color of a DevExpress TileView when the tileview has been checked. However, it didn't change the color even if the line has been executed. So what should I do to make it happen? Here's my current…
RandomEli
  • 1,527
  • 5
  • 30
  • 53
0
votes
0 answers

Dynamically add the treelist and assign datatable as datasource in devexpress

I have datatable of columns parent_id, child_id, and another some columns. I want to create the treelist at run time and assign the above datatable as datasource. Upto this step it works good. But it never shows the columns in tree list. and that…
Avinash
  • 11
  • 4
0
votes
1 answer

Use DXValidationProvider to validate value against collection of values

I want to use DXValidationProvider to check if Item's name inside TextEdit is unique. I've got collection of Item objects available. Pseudo code for Item class: class Item { public string Name {get;set;} // ... } First I create…
user2475983
  • 1,916
  • 2
  • 13
  • 20
0
votes
1 answer

How to get round corner buttons in win forms using dev express

I have a requirement to create a round corner buttons but I am new to dev express.Do we have any buttons in Dev express 8.2 which supports round corner.With normal button i tried following code but it didnt work. public class RoundButton :…
Rakesh Devarasetti
  • 1,409
  • 2
  • 24
  • 42
0
votes
2 answers

DevExpress lookupedit repository item add new row in Xtra Grid View in first row

I have a devexpress gridcontrol with 5 columns. The first column is a lookupedit repository with some data, let say with CarTypes. To load data in grid I am using a BindingSource. In this BindingSource.DataSource I have load a IList and then…
A. Zalonis
  • 1,599
  • 6
  • 26
  • 41
0
votes
1 answer

Bind a detail report to a class model with properties stored in a Dictionary (VB.NET, Devexpress)

I'm trying the example from Devexpress Dim binding As New XRBinding("Text", dsProducts1, "Products.UnitPrice") But my models does not have their properties explicitly written in their class. It would take a method GetProperty("column_name_here") to…
Mark Vizcarra
  • 1,165
  • 1
  • 11
  • 15
0
votes
0 answers

SQL Server 2008 R2 , OpenXmlBytes RichEditControl, Specific format for storing data in varbinary data

Is there any way I can convert data to varbinary with some specific format while I try to save data in SQL Server table. Like if the data is coming from RTF editor. We use OpenXmlBytes for storing data into database from frontend and pass as bytes…
0
votes
0 answers

How to manage Update and Delete Occurance in scheduler?

I am using Dev Express Scheduler control. I can insert and update Normal appointment. I use database to store and retrieve information of appointment. But I don't know how to manage Delete or Update single occurrence. When I delete single…
NJ Bhanushali
  • 901
  • 1
  • 12
  • 21