Results 1 to 4 of 4

Thread: SelectionObject property

  1. #1
    Join Date
    Nov 2009
    Posts
    129

    SelectionObject property

    Hey folk,

    I am developing a program with .Net framework. I want to add a drop box in my program and add the content on that. Whenever i select any item on that list it will known by the user but my problem is that i don't know about that. I have heard that there is a SelectionObject Property will help for the selection of item but don't know how to use that so can any one help me regarding the use of SelectionObject Property.

    Thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    3,316

    Re: SelectionObject property

    Hey,

    Gets the selection object that is provided by the snap-in for the items that are represented by the new selection.
    Here is the method:

    Code:
    Public ReadOnly Property SelectionObject As Object
    The selection object is provided by a snap-in to uniquely identify the data that is represented by the current selection. For the given data, the snap-in must always provide equal instances of SelectionObject across selection changes and across view instances. The instances are considered equal as determinable by System.IComparable.CompareTo if the selection object implements IComparable, or by a reference comparison if the selection object does not implement IComparable.

    Thanks

  3. #3
    Join Date
    May 2008
    Posts
    4,570

    Re: SelectionObject property

    Hi,

    SelectionObject property is used as the read only property. It reads the data from the Drop Down Menu and list box. It is automatically set when there is selection in the PropertySheet. It uses the platform of Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP, Windows 7, Windows 2008 R2 which is used for development. And target mode is as Windows Server 2008, Windows Server 2003, Windows Vista, Windows XP, Windows 7, Windows 2008 R2.

    Thats it!!!!!!!!!!!!

  4. #4
    Join Date
    May 2008
    Posts
    4,831

    Re: SelectionObject property

    Hi there,

    It works with the PropertySheet method. SelectionObject is always null for property sheets owned by scope nodes and property sheet extensions. It is only valid for view selection property sheets that are created using ShowPropertySheet. Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

    Thanks

Similar Threads

  1. What is a Java property category?
    By Viensterrr in forum Software Development
    Replies: 4
    Last Post: 22-01-2010, 10:41 PM
  2. Help needed in C# for Invoking a Property
    By Deabelos in forum Software Development
    Replies: 4
    Last Post: 19-01-2010, 07:33 PM
  3. CSS Property For IMG
    By Joko in forum Software Development
    Replies: 3
    Last Post: 12-08-2009, 11:20 AM
  4. Property reading problem in MSI
    By Joko in forum Software Development
    Replies: 4
    Last Post: 12-06-2009, 11:59 AM
  5. Default property of datacontrol
    By Pooja in forum Software Development
    Replies: 2
    Last Post: 28-02-2009, 06:18 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,252,702.60610 seconds with 16 queries