473,385 Members | 1,647 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to: Override TreeView Control's "SelectImageIndex" property

Using the .Net Compact Framework, how is it possible to override the
SelectImageIndex property? I am trying to achieve the following: That when a
user selects a node, or child-node, that the image does not change.

By default, the TreeView control selects the image in the ImageList at
position 0.

Thanks,
Nov 16 '05 #1
1 2339
charliewest,
You don't need to "override" the property per se.

You simply need to set the SelectImageIndex property to the same value as
the ImageIndex property when you create the node.

Hope this helps
Jay
"charliewest" <ch*********@discussions.microsoft.com> wrote in message
news:56**********************************@microsof t.com...
Using the .Net Compact Framework, how is it possible to override the
SelectImageIndex property? I am trying to achieve the following: That when
a
user selects a node, or child-node, that the image does not change.

By default, the TreeView control selects the image in the ImageList at
position 0.

Thanks,

Nov 16 '05 #2

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

Similar topics

1
by: Domagoj Kovač | last post by:
....I suppose I will get ton of "you sould buy my XXX component" replies on this, but i'll give it a try anyhow.... 1) Our ASP.NET team needs some "powerfull" datagrid, that is (if possible)...
1
by: Oliver | last post by:
I have seen mention of TreeView controls in other threads, but cannot find information about these in the Online Help. I feel that I might be missing out on some useful functionality. How can I...
0
by: Abdessamad Belangour | last post by:
Hi, I have a treeView control with chekboxes . 1. I need to get the treeNode that is about to be checked . ---------------------------------------------------------------------------- -- private...
5
by: Ian Stiles | last post by:
I have tried everything under the sun to get rid of horrible flashing and flickering that occurs on a CSharp form when the form hosts a TreeView or WebBrowser control and then you resize the form....
1
by: Richard Markus | last post by:
I used to make good use of the KEY property on the NODE object in a TreeView control in VB 6.0. In VB.NET, I do not find the KEY property for NODES. How do I get the same functionality? More:...
1
by: James Coleman | last post by:
I am using the TreeView control in ASP.NET 2.0 and like it. However, our sitebuilders aren't too pleased with the idea of the table that gets rendered. They are big into avoiding <table> tags...
1
by: Bern McCarty | last post by:
I cannot figure out how to do this. It seems that the only way to introduce the "override" keyword into the mix is to give up on the simple property syntax. It seems that the designers of C++/CLI...
1
by: =?Utf-8?B?SmVzcGVyLCBEZW5tYXJr?= | last post by:
Hi, Drag and drop between two TreeView controls, is it possible? How? regards Jesper
1
by: Nikron | last post by:
Hi, I'm having an issue with the ASP.NET 2.0 Treeview control and persisting its' state accross requests. My Control is embedded within a master page and is used for site navigation. My problem...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.