Infragistics.com
Community
Samples
Support
Documentation
My Infragistics
Home
ASP.NET
Windows Forms
Windows Forms Home
Forums
Articles
Media
Code Samples
Blogs
WPF
Silverlight
UX
Pixel8
Windows Forms Home
Forums
Articles
Media
Code Samples
Blogs
Sign in
Subscribe
Windows Forms
»
Code Samples
Windows Forms Samples
Sort By:
Date
,
Views
,
Title
By
[Infragistics] Mike Saltzman
Last Updated
Jul 02, 2009
Comments
(
0
)
Sorting GroupByRows in the WinGrid by the Number of Child Rows
Introduction Using OutlookGroupBy, UltraWinGrid allows you to group rows with similar values together just like Microsoft Outlook. The way grouping works is that the grid will sort the column and then loop through the rows to find matching values. Thus...
Filed under:
UltraGrid
,
WinGrid
,
WinForms
By
[Infragistics] Mike Saltzman
Last Updated
May 08, 2009
Comments
(
1
)
Creating a dropdown list in a grid cell whose list values are dependent...
Introduction The UltraGridColumn has a ValueList property which allows you to attach a dropdown list to the column. The dropdown list may be any class that implements the IValueList interface, which includes the ValueList, BindableValueList, or UltraDropDown...
Filed under:
UltraGrid
,
WinGrid
,
WinForms
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
0
)
Make an WinGrid Cell Containing an WinTextEditor Read-Only
If the WinTextEditor is set to the EditorControl of a single cell, in order to make it read- only the cell’s Activation property needs to be set to “ActivateOnly.” The following code and samples assume the WinTextEditor is the EditorControl...
Filed under:
WinGrid
,
WinTextEditor
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
1
)
Turn off the WinGrid ActiveRowAppearance
When you place a new UltraWinGrid on a form, it loads a default Preset. This preset applies an ActiveRowAppearance and an ActiveCellAppearance to the grid which make the ActiveRow appear with the same colors as a selected row. Note that this behavior...
Filed under:
WinGrid
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
0
)
Determine WinGrid Mouse Position and Cell Identification
Many projects using the WinGrid for navigation need to be able to determine which cell the user clicked on without the cell being selected or becoming active. Using the grid's MouseUp or MouseDown events, you can retrieve a reference to the UIElement...
Filed under:
UIElement
,
WinGrid
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
0
)
Activating a Cell for Edit Mode in UltraGrid
When using a BindingNavigator in conjuction with UltraGrid, at runtime, the BindingNavigator's "Add" button is clicked a row is added and the grid moves to the new row. To set the cell to edit via its fieldname, and automatically put the...
Filed under:
UltraGrid
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
0
)
Set AppStylist Font at Runtime
If you do not want hard code the font name in an AppStylist ISL file and instead determine it at runtime and set this value in code. private void ultraFontNameEditor1_ValueChanged(object sender, EventArgs e) { ApplicationStyleLibrary styleLibrary = new...
Filed under:
AppStylist
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
0
)
Determine the Font & Point Size at Runtime When Using AppStylist
At runtime, when checking the Font property of the UltraLabel, it returns the default font that the control renders with. When the text actually drawn on the control, it is using the correct font specified in the AppStylist ISL file. The result of this...
Filed under:
AppStylist
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
1
)
Changing Foreign Key using LINQ to SQL and UltraCombo
Scenario: You are using a ultraComboEditor on a detailview showing an order object. You using Linq for Sql, and I am having a Order and a OrderState objects that I would like to bind together. On the detailView for the Order object I would like to have...
Filed under:
UltraWinGrid. UltraCombo
By
Jason Beres
Last Updated
Feb 28, 2009
Comments
(
0
)
Automatically Set the Height on a Fixed-Width UltraLabel
If you set AutoSize = true on an UltraLabel, its height becomes fixed and its width expands/collapses to accommodate its text. So how can you fix its width and have the UltraLabel autosize its height to accommodate the height of the wrapped text? Since...
Filed under:
UltraLabel
RSS
Recent Media Items
Customizing a WinExplorerBar Group...
Introduction to WinTimeLineView
Introduction to WinTilePanel
Introduction to WinControlContainer...
Netdvantage for Windows Forms 2009....
Recent Code Samples
Sorting GroupByRows in the WinGrid...
Creating a dropdown list in a grid...
Recent Articles
Performance in the WinTilePanel
Formatting cells differently in the...
Recent Forum Posts
Chart
Re: CellValue - ToString()
Re: refresh() after updates in list...
Re: showing a custom mousecursor wh...
Excel export with icons in childrow...