DBObjectsBranch Members
Include Protected Members
Include Inherited Members
Manages retrieving data for a row from the client through the IDBObjectInformation interface. This class also handles propagating the check state up and down the tree.
The DBObjectsBranch type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DBObjectsBranch | Initializes a new instance of the DBObjectsBranch class. |
Top
Methods
Name | Description | |
---|---|---|
AddChildBranch | Adds a new child branch to this branch. | |
AddInfoObject | Adds a new object that contains information about the database object to be displayed as part of the branch. | |
BeginLabelEdit | The default is to not support label editing. (Inherited from SingleColumnBranchBase.) | |
CalcParentCheckState | Calculates the state based on the state of the items in this branch. | |
ColumnStyles | Returns simple style. (Inherited from MultiColumnBranchBase.) | |
CommitLabelEdit | The default is to cancel edits. (Inherited from SingleColumnBranchBase.) | |
CreateChildBranch | Creates a new child branch of the given branch. | |
DoVisitAllDepthFirst | Traverses the tree in a depth-first order, calling the given visitor delegate for each item in the tree. | |
DoVisitAllLevelFirst | Traverses the tree in level order, calling the given visitor delegate for each item in the tree. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetAccessibilityData | Returns the default accessibility object for the tree grid. (Inherited from SingleColumnBranchBase.) | |
GetDisplayData | Using the info object for given row, fills in a VirtualTreeDisplayData object with image and check state information. (Overrides SingleColumnBranchBase.GetDisplayData(Int32, Int32, VirtualTreeDisplayDataMasks).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInfoObject | Returns the information object at a given row in the branch. | |
GetJaggedColumnCount | The default is to return 0. (Inherited from MultiColumnBranchBase.) | |
GetObject | If the style is ExpandedBranch, this method creates a new branch object and returns it. (Overrides SingleColumnBranchBase.GetObject(Int32, Int32, ObjectStyle, Int32%).) | |
GetText | Returns cell text by asking the information object for data. (Overrides SingleColumnBranchBase.GetText(Int32, Int32).) | |
GetTipText | The default is to return no text. (Inherited from SingleColumnBranchBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsExpandable | Returns whether the item in the specified row is expandable. (Overrides SingleColumnBranchBase.IsExpandable(Int32, Int32).) | |
LocateObject | The default is to locate self. (Inherited from SingleColumnBranchBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NextState | Returns the next checked state, given a state. | |
OnDragEvent | The default is to show no drag effect. (Inherited from SingleColumnBranchBase.) | |
OnGiveFeedback | This method does nothing. (Inherited from SingleColumnBranchBase.) | |
OnQueryContinueDrag | The default is to cancel action. (Inherited from SingleColumnBranchBase.) | |
OnStartDrag | The default is to not allow the drag. (Inherited from SingleColumnBranchBase.) | |
PreloadObjects | Preloads the information and child branch objects cache for a branch. | |
PropagateCheckState | Propagates the checked state of the item in a given row throughout the tree. | |
SetBranchState | Sets the state of all items in the branch. | |
SetState | Sets the state of the item at the given row. | |
SynchronizeState | The default is to indicate that no synchronization needs to be done. (Inherited from SingleColumnBranchBase.) | |
ToggleState | Toggles the state of the item at the given row and then propagates that change up and down the tree if not disabled. (Overrides SingleColumnBranchBase.ToggleState(Int32, Int32).) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
UpdateChildrenState | Propagates a new check state to children of the branch. | |
UpdateParent | Updates the check state of parents. | |
VisitAll | Visits all the information objects in the tree in either depth-first or branch level order. |
Top
Properties
Name | Description | |
---|---|---|
ChildBranchCount | Gets the count of child branches of this branch. | |
ColumnCount | Gets the column count from the producer object. (Overrides MultiColumnBranchBase.ColumnCount.) | |
DBObjectInfoCount | Gets the count of db info objects in this branch. | |
Features | Gets branch features. (Overrides SingleColumnBranchBase.Features.) | |
ForcedChildState | Gets or sets the forced child state. | |
ForceSetChildState | Gets or sets whether a branch item should have its state changed when it is created. | |
UpdateCounter | The default is to return 0. (Inherited from SingleColumnBranchBase.) | |
VisibleItemCount | Gets the number of items in this branch. (Overrides SingleColumnBranchBase.VisibleItemCount.) |
Top
Events
Name | Description | |
---|---|---|
OnBranchModification | The event handler that the tree and others can use for notifications. (Inherited from SingleColumnBranchBase.) |
Top
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI.TreeGridSupport Namespace