Partilhar via


StringEntryBucket Class

Definition

Important

This API is not CLS-compliant.

A helper class that implements IEntryBucket for groups that are displayed using a string.

public ref class StringEntryBucket : IComparable<Microsoft::VisualStudio::Shell::TableControl::IEntryBucket ^>, Microsoft::VisualStudio::Shell::TableControl::IEntryBucket
[System.CLSCompliant(false)]
public class StringEntryBucket : IComparable<Microsoft.VisualStudio.Shell.TableControl.IEntryBucket>, Microsoft.VisualStudio.Shell.TableControl.IEntryBucket
public class StringEntryBucket : IComparable<Microsoft.VisualStudio.Shell.TableControl.IEntryBucket>, Microsoft.VisualStudio.Shell.TableControl.IEntryBucket
[<System.CLSCompliant(false)>]
type StringEntryBucket = class
    interface IEntryBucket
    interface IComparable<IEntryBucket>
type StringEntryBucket = class
    interface IEntryBucket
    interface IComparable<IEntryBucket>
Public Class StringEntryBucket
Implements IComparable(Of IEntryBucket), IEntryBucket
Inheritance
StringEntryBucket
Derived
Attributes
Implements

Remarks

Two different instances of a EntryBucket that have the same name will be considered equivalent.

Constructors

StringEntryBucket(String, Object, StringComparer, Boolean)

Constructor for an instance an instance of IEntryBucket that is displayed using a string.

StringEntryBucket(String, Object, StringComparer)
StringEntryBucket(String, Object)

Fields

Comparer

String comparison used to compare two different buckets.

Name

Name of the bucket.

ToolTip

ToolTip of the bucket (can be null).

Properties

IsExpandedByDefault

Should this group be expanded by default?.

PersistExpansionState

Should the expansion state of this group persist from session to session.

Methods

CompareTo(IEntryBucket)

Compare this to another object IComparable<T>.

Equals(Object)

Compare this to another object IEquatable<T>.

GetHashCode()

Gets the hash code.

TryCreateColumnContent(FrameworkElement)

Get the FrameworkElement used to display the group.

TryCreateImageContent(ImageMoniker)

Get the ImageMoniker used to display the group.

TryCreateStringContent(String)

Get the String used to display the group.

TryCreateToolTip(Object)

Get the tool tip for this group.

Applies to