StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Enhancedlist Dynamically Change BackColor
Enhancedlist Dynamically Change BackColor
Post Reply
Like
0
Enhancedlist Dynamically Change BackColor
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Brad Vick
Brad Vick
posted 19 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 33,
Visits: 88
I am trying to highlight rows in an enhancedlist based on a value in the grid. Below what I have coded in an attempted to make this happen, but I must be missing something. Any help would be appreciated.
Private Sub grdMain_RowPopulating(ByVal e As MicroFour.StrataFrame.UI.Windows.Forms.DevEx.EnhancedRowPopulatingEventArgs) Handles grdMain.RowPopulating
With CType(e.BusinessObject, Business.AssembliesBO)
If .DocuntationToDate = False Then
e.RowAppearance.BackColor = Drawing.Color.Yellow
End If
End With
End Sub
Reply
Like
0
Trent Taylor
Trent Taylor
posted 19 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
You were just about there
All you need to add is one line of code:
e.UseRowAppearance = True
Otherwise the RowAppearance settings are ignored.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search