共用方式為


SPTreeView Members

Include Protected Members
Include Inherited Members

Displays SharePoint Foundation site hierarchical data, such as a table of contents, in a tree structure.

The SPTreeView type exposes the following members.

Constructors

  Name Description
Public method SPTreeView Initializes a new instance of the SPTreeView class.

Top

Properties

  Name Description
Public property AccessKey (Inherited from WebControl.)
Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from WebControl.)
Public property AutoExpandSelectedNode
Public property AutoGenerateDataBindings (Inherited from TreeView.)
Public property BackColor (Inherited from WebControl.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebControl.)
Public property BorderStyle (Inherited from WebControl.)
Public property BorderWidth (Inherited from WebControl.)
Public property CheckedNodes (Inherited from TreeView.)
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property CollapseImageToolTip (Inherited from TreeView.)
Public property CollapseImageUrl (Inherited from TreeView.)
Public property CollapseImageUrlRtl
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Public property CssClass (Inherited from WebControl.)
Public property DataBindings (Inherited from TreeView.)
Public property DataSource (Inherited from BaseDataBoundControl.)
Public property DataSourceID (Inherited from HierarchicalDataBoundControl.)
Protected property DesignMode (Inherited from Control.)
Public property EnableClientScript (Inherited from TreeView.)
Public property Enabled (Inherited from WebControl.)
Public property EnableTheming (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property ExpandDepth (Inherited from TreeView.)
Public property ExpandImageToolTip (Inherited from TreeView.)
Public property ExpandImageUrl (Inherited from TreeView.)
Public property ExpandImageUrlRtl
Public property Font (Inherited from WebControl.)
Public property ForeColor (Inherited from WebControl.)
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property Height (Inherited from WebControl.)
Public property HoverNodeStyle (Inherited from TreeView.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property ImageSet (Inherited from TreeView.)
Protected property Initialized (Inherited from BaseDataBoundControl.)
Protected property IsBoundUsingDataSourceID (Inherited from BaseDataBoundControl.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEnabled (Inherited from WebControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property LeafNodeStyle (Inherited from TreeView.)
Public property LevelStyles (Inherited from TreeView.)
Public property LineImagesFolder (Inherited from TreeView.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property MaxDataBindDepth (Inherited from TreeView.)
Public property NamingContainer (Inherited from Control.)
Public property NodeIndent (Inherited from TreeView.)
Public property Nodes (Inherited from TreeView.)
Public property NodeStyle (Inherited from TreeView.)
Public property NodeWrap (Inherited from TreeView.)
Public property NoExpandImageUrl (Inherited from TreeView.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property ParentNodeStyle (Inherited from TreeView.)
Public property PathSeparator (Inherited from TreeView.)
Public property PopulateNodesFromClient (Inherited from TreeView.)
Protected property RequiresDataBinding (Inherited from BaseDataBoundControl.)
Public property RootNodeStyle (Inherited from TreeView.)
Public property SelectedNode (Inherited from TreeView.)
Public property SelectedNodePath Gets or sets the path of the selected node.
Public property SelectedNodeStyle (Inherited from TreeView.)
Public property SelectedValue (Inherited from TreeView.)
Public property ShowCheckBoxes (Inherited from TreeView.)
Public property ShowExpandCollapse (Inherited from TreeView.)
Public property ShowLines (Inherited from TreeView.)
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from WebControl.)
Public property SkipLinkText (Inherited from TreeView.)
Public property Style (Inherited from WebControl.)
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from TreeView.)
Protected property TagName (Inherited from WebControl.)
Public property Target (Inherited from TreeView.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Public property UseInternalDataBindings Gets or sets the Boolean value indicating whether to use internal data bindings.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from TreeView.)
Public property Width (Inherited from WebControl.)

Top

Methods

  Name Description
Protected method AddAttributesToRender (Inherited from TreeView.)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyle (Inherited from WebControl.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method CollapseAll (Inherited from TreeView.)
Protected method ConfirmInitState (Inherited from BaseDataBoundControl.)
Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from TreeView.)
Protected method CreateControlStyle (Inherited from WebControl.)
Protected method CreateNode (Inherited from TreeView.)
Public method DataBind() (Inherited from TreeView.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureDataBound (Inherited from BaseDataBoundControl.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Public method ExpandAll (Inherited from TreeView.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method FindNode (Inherited from TreeView.)
Public method Focus (Inherited from Control.)
Protected method GetCallbackResult (Inherited from TreeView.)
Protected method GetData (Inherited from HierarchicalDataBoundControl.)
Protected method GetDataSource (Inherited from HierarchicalDataBoundControl.)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadPostData (Inherited from TreeView.)
Protected method LoadViewState (Inherited from TreeView.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MarkAsDataBound (Inherited from HierarchicalDataBoundControl.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnDataBound (Inherited from BaseDataBoundControl.)
Protected method OnDataPropertyChanged (Inherited from HierarchicalDataBoundControl.)
Protected method OnDataSourceChanged (Inherited from HierarchicalDataBoundControl.)
Protected method OnInit (Overrides TreeView.OnInit(EventArgs).)
Protected method OnLoad (Inherited from HierarchicalDataBoundControl.)
Protected method OnPagePreLoad (Inherited from HierarchicalDataBoundControl.)
Protected method OnPreRender (Overrides TreeView.OnPreRender(EventArgs).)
Protected method OnSelectedNodeChanged (Inherited from TreeView.)
Protected method OnTreeNodeCheckChanged (Inherited from TreeView.)
Protected method OnTreeNodeCollapsed (Inherited from TreeView.)
Protected method OnTreeNodeDataBound (Inherited from TreeView.)
Protected method OnTreeNodeExpanded (Inherited from TreeView.)
Protected method OnTreeNodePopulate (Inherited from TreeView.)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method PerformDataBinding (Overrides TreeView.PerformDataBinding().)
Protected method PerformSelect (Inherited from HierarchicalDataBoundControl.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RaiseCallbackEvent (Inherited from TreeView.)
Protected method RaisePostBackEvent (Inherited from TreeView.)
Protected method RaisePostDataChangedEvent (Inherited from TreeView.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render (Inherited from WebControl.)
Public method RenderBeginTag (Inherited from TreeView.)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents (Inherited from TreeView.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public method RenderEndTag (Inherited from TreeView.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from TreeView.)
Protected method SetDesignModeState (Inherited from Control.)
Protected method SetNodeDataBound (Inherited from TreeView.)
Protected method SetNodeDataItem (Inherited from TreeView.)
Protected method SetNodeDataPath (Inherited from TreeView.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from TreeView.)
Protected method ValidateDataSource (Inherited from HierarchicalDataBoundControl.)

Top

Events

  Name Description
Public event DataBinding (Inherited from Control.)
Public event DataBound (Inherited from BaseDataBoundControl.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event SelectedNodeChanged (Inherited from TreeView.)
Public event TreeNodeCheckChanged (Inherited from TreeView.)
Public event TreeNodeCollapsed (Inherited from TreeView.)
Public event TreeNodeDataBound (Inherited from TreeView.)
Public event TreeNodeExpanded (Inherited from TreeView.)
Public event TreeNodePopulate (Inherited from TreeView.)
Public event Unload (Inherited from Control.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IAttributeAccessor.GetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method ICallbackEventHandler.GetCallbackResult (Inherited from TreeView.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IPostBackDataHandler.LoadPostData (Inherited from TreeView.)
Explicit interface implemetationPrivate method ICallbackEventHandler.RaiseCallbackEvent (Inherited from TreeView.)
Explicit interface implemetationPrivate method IPostBackEventHandler.RaisePostBackEvent (Inherited from TreeView.)
Explicit interface implemetationPrivate method IPostBackDataHandler.RaisePostDataChangedEvent (Inherited from TreeView.)
Explicit interface implemetationPrivate method IAttributeAccessor.SetAttribute (Inherited from WebControl.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

SPTreeView Class

Microsoft.SharePoint.WebControls Namespace