473,769 Members | 8,134 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

datagrid and vertical gridline color

Hi is there a way to change the color of the vertical gridline in a
datagrid or listview

Feb 28 '06 #1
6 2272
<ge***********@ gmail.com> schrieb
Hi is there a way to change the color of the vertical gridline in a
datagrid or listview

As the datagrid is not part of VB.Net, it's part of the Framework, have a
look here:
microsoft.publi c.dotnet.framew ork.windowsform s.controls
Armin

Mar 3 '06 #2

"Armin Zingler" <az*******@free net.de> wrote in message
news:OG******** ******@TK2MSFTN GP10.phx.gbl...
As the datagrid is not part of VB.Net, it's part of the Framework, have a
look here:
microsoft.publi c.dotnet.framew ork.windowsform s.controls


Are there any decent object model diagrams for these various "collection s",
like VB, .Net, Framework etc?

Mar 3 '06 #3
"Homer J Simpson" <no****@nowhere .com> schrieb

"Armin Zingler" <az*******@free net.de> wrote in message
news:OG******** ******@TK2MSFTN GP10.phx.gbl...
As the datagrid is not part of VB.Net, it's part of the Framework,
have a look here:
microsoft.publi c.dotnet.framew ork.windowsform s.controls


Are there any decent object model diagrams for these various
"collection s", like VB, .Net, Framework etc?

Object models? Well, ".Net" is a marketing concept. The ".Net Framework" is
a piece of software made of the CLR and the class library
(http://msdn.microsoft.com/library/en...meworksdk.asp).
VB.Net is a language being able to produce code meeting the requirements of
the .Net Framework, i.e. it can output IL code (intermediate language).

What I meant was: No matter which language you use, the Datagrid, it's
members and behavior and how to use it, is part of the .Net Framework class
library.
Armin

Mar 3 '06 #4

"Armin Zingler" <az*******@free net.de> wrote in message
news:eD******** ******@TK2MSFTN GP09.phx.gbl...
Are there any decent object model diagrams for these various
"collection s", like VB, .Net, Framework etc?
Object models? Well, ".Net" is a marketing concept. The ".Net Framework"
is a piece of software made of the CLR and the class library
(http://msdn.microsoft.com/library/en...meworksdk.asp).
VB.Net is a language being able to produce code meeting the requirements
of the .Net Framework, i.e. it can output IL code (intermediate language).

What I meant was: No matter which language you use, the Datagrid, it's
members and behavior and how to use it, is part of the .Net Framework
class library.


I understand, but it's a SOB trying to figure out which objects are children
of which other objects etc. Some nice diagrams might help, the sort you get
for the MS Office applications.

Mar 3 '06 #5
"Homer J Simpson" <no****@nowhere .com> schrieb

"Armin Zingler" <az*******@free net.de> wrote in message
news:eD******** ******@TK2MSFTN GP09.phx.gbl...
Are there any decent object model diagrams for these various
"collection s", like VB, .Net, Framework etc?

Object models? Well, ".Net" is a marketing concept. The ".Net
Framework" is a piece of software made of the CLR and the class
library
(http://msdn.microsoft.com/library/en...meworksdk.asp).
VB.Net is a language being able to produce code meeting the
requirements of the .Net Framework, i.e. it can output IL code
(intermediate language).

What I meant was: No matter which language you use, the Datagrid,
it's members and behavior and how to use it, is part of the .Net
Framework class library.


I understand, but it's a SOB trying to figure out which objects are
children of which other objects etc. Some nice diagrams might help,
the sort you get for the MS Office applications.

Which objects are you talking about? The classes in the Framework class
library? I always use the object browser and for me it's sufficient. Sorry,
I don't have a link to object/class charts.
Armin

Mar 4 '06 #6

"Armin Zingler" <az*******@free net.de> wrote in message
news:OQ******** ******@TK2MSFTN GP10.phx.gbl...
Which objects are you talking about? The classes in the Framework class
library? I always use the object browser and for me it's sufficient.
Sorry,
I don't have a link to object/class charts.


Things like the ListView control. Trying to add sub items was a pain esp.
when it wouldn't add them in the order I expected - still don't know why
that happens.

Mar 4 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3945
by: web1110 | last post by:
Hi y'all, I have resized the columns in a DataGrid and I want to set the width of the DataGrid to fit the columns. Just summing the column widths is too short due to the grid and gray row selection column on the left. I have the widths of the columns. What other values do I need to include in the DataGrid width? Thanx,
0
1248
by: MattC | last post by:
Hi, I have place the following code in my ItemDataBound event: The problem I have is that when I select a row for editing using the edit command it no longer changes the CSSClass to the one specified in SelectedItemStyle. TIA
2
3065
by: Rosanne | last post by:
I have defined a datagrid. This datagrid has a fixed header and scrollable body. I have defined vertical gridlines in the datagri properties - I assumed these vertical lines would be in both the heade and the body of the grid. The problem is the vertical gridlines ar appearing in the body of the datagrid, but not in the header. I'v tried setting all different kinds of properties in the <headerstyle> t get the vertical lines, but...
2
1450
by: Tracey | last post by:
I used the following code to get rid of gridline of datagrid1. However, the gridline are still there. Can someone tell me what's wrong with that? Dim tablestyle as new tablestyle with tablestyle .gridlinestyle = none .mappingname = ctype(datagrid1.datasource, datatable) end with
2
2311
by: Tracey | last post by:
Hi, there My application needs a datagrid with no gridline displayed.If the datagrid is dragged into a winform, we can easily set the gridlinecolor to be the same as datagrid's background color or set gridlinestyle to be none. However, things are different when I create a datagrid at run time though I have set its gridlinestyle to be none.The gridline are still there.
2
3337
by: Gene Hubert | last post by:
I'm assigning a new datasource (a datatable) to a datagrid that is aready displayed in a form. Then I assign a new value to CurrentRowIndex. The datagrid always scrolls so that the new current row is visible. However, the vertical scrollbar does not always adjust accordingly. Upon the first instance of assigning a new datasource and setting the currentrowindex to the _last_ record, the part of the vertical scrollbar that can be...
0
1024
by: gerry.brennan | last post by:
Hi, Does anyone know if it is possible to turn just "Vertical gridlines" a different colour in a datagrid. Gerry.
3
4317
by: Alex Maghen | last post by:
I'd like there to be a border around each row of my data-grid but NOT between the columns. I've tried setting BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" ItemStyle-BorderColor="Black" ItemStyle-BorderStyle="Solid" ItemStyle-BorderWidth="1px"
2
3260
by: Arpan | last post by:
How do I change the color of the GridLines in a DataGrid? I don't find any property to change the GridLines color in a DataGrid. I tried using HeaderStyle-BorderColor as well as ItemStyle-BorderColor but neither of them color the GridLines. BorderColor just changes the color of the outer 4 borders of the DataGrid. Thanks, Arpan
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10219
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3567
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.