Hi,
Can anybody tell me how the UseOsThemes works? I couldn't find any documentation for this property.
It's been a very frustrating experience using the AppStylist; not to mention there's no design time support - what you see is not quite what you gonna get. Everything looks perfect when I run my app using WinXP theme but then the look and feel changed when I switch to Windows Classic. I thought AppStylist was supposed to maintain the styling and consistent look of the app.
Many thanks.
Hi Chuck,
The equivalent of AutoEdit = False would be AutoCompleteMode.None.
The equivalent of AutoEdit - True is probabaly AutoCompleteMode.SuggestAppend.
Mike, your suggestion for handling AutoEdit = false worked successfully. However, now I'm confronted with the following:
if grdRates.DisplayLayout.Rows[0].Cells[Convert.ToInt32(RateColumns.esoldrate)].Column.AutoEdit == true) { grdRates.DisplayLayout.Rows[0].Cells[Convert.ToInt32(RateColumns.esoldrate)].Column.AutoEdit = false; grdRates.ActiveCell = grdRates.Rows[0].Cells[Convert.ToInt32(RateColumns.esoldrate)]; grdRates.DisplayLayout.Rows[0].Cells[Convert.ToInt32(RateColumns.esoldrate)].Column.AutoEdit = true;}else{ grdRates.ActiveCell = grdRates.Rows[0].Cells[Convert.ToInt32(RateColumns.esoldrate)];}
I can change the Autoedit=false ok, but not the other two.
What's the best way to convert these 2 lines?
Thanks. Chuck
Well, the equivalent of AutoEdit = false, is probably AutoCompleteMode.None.
SuggestAppend tries to match what the user typed in and then appends the rests of the matching value. That's pretty much the standard on most combo boxes.
Using C#, Visual Studio 2005.
Yes, I saw the 5 suggestions (Append, Default, None, Suggest, SuggestAppend) after the
Infragistics.Win.
AutoCompleteMode. , but because the line of code being replaced was
.AutoEdit = false;
I was looking for a boolean type parameter.
What will SuggestAppend do?
Thanks again.
Out of curiosity, what programming language / environment are you using?
The intellisense in Visual Studio will typically give you the Enum type automatically and even type it out for you so you don't have to worry about it. Barring that, you can simply mouse over the property name and it will tell you the type in a tooltip.
This really shouldn't be all that difficult. :)
column.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.SuggestAppend;