Table of Contents

Class GroupedDropDownParameterEditor.DropDownItem

Namespace
Dynamicweb.Extensibility.Editors
Assembly
Dynamicweb.Core.dll

Represents a drop-down item.

public class GroupedDropDownParameterEditor.DropDownItem : IComparable<GroupedDropDownParameterEditor.DropDownItem>
Inheritance
GroupedDropDownParameterEditor.DropDownItem
Implements
Inherited Members

Constructors

DropDownItem(string, string, string)

Initializes a new instance of an object.

public DropDownItem(string name, string groupName, string value)

Parameters

name string

Name of the item.

groupName string

Group name of the item.

value string

Value of the item.

Properties

GroupName

Gets or sets the group name of the item.

public string GroupName { get; set; }

Property Value

string

Name

Gets or sets the name of the item.

public string Name { get; set; }

Property Value

string

Value

Gets or sets the value of the item.

public string Value { get; set; }

Property Value

string

Methods

CompareTo(DropDownItem?)

Compares one drop-down item with another one.

public int CompareTo(GroupedDropDownParameterEditor.DropDownItem? other)

Parameters

other GroupedDropDownParameterEditor.DropDownItem

Another drop-down item to compare with.

Returns

int

Comparison result.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Operators

operator ==(DropDownItem?, DropDownItem?)

public static bool operator ==(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)

Parameters

left GroupedDropDownParameterEditor.DropDownItem
right GroupedDropDownParameterEditor.DropDownItem

Returns

bool

operator >(DropDownItem?, DropDownItem?)

public static bool operator >(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)

Parameters

left GroupedDropDownParameterEditor.DropDownItem
right GroupedDropDownParameterEditor.DropDownItem

Returns

bool

operator >=(DropDownItem?, DropDownItem?)

public static bool operator >=(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)

Parameters

left GroupedDropDownParameterEditor.DropDownItem
right GroupedDropDownParameterEditor.DropDownItem

Returns

bool

operator !=(DropDownItem?, DropDownItem?)

public static bool operator !=(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)

Parameters

left GroupedDropDownParameterEditor.DropDownItem
right GroupedDropDownParameterEditor.DropDownItem

Returns

bool

operator <(DropDownItem?, DropDownItem?)

public static bool operator <(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)

Parameters

left GroupedDropDownParameterEditor.DropDownItem
right GroupedDropDownParameterEditor.DropDownItem

Returns

bool

operator <=(DropDownItem?, DropDownItem?)

public static bool operator <=(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)

Parameters

left GroupedDropDownParameterEditor.DropDownItem
right GroupedDropDownParameterEditor.DropDownItem

Returns

bool
To top