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
namestringName of the item.
groupNamestringGroup name of the item.
valuestringValue of the item.
Properties
GroupName
Gets or sets the group name of the item.
public string GroupName { get; set; }
Property Value
Name
Gets or sets the name of the item.
public string Name { get; set; }
Property Value
Value
Gets or sets the value of the item.
public string Value { get; set; }
Property Value
Methods
CompareTo(DropDownItem?)
Compares one drop-down item with another one.
public int CompareTo(GroupedDropDownParameterEditor.DropDownItem? other)
Parameters
otherGroupedDropDownParameterEditor.DropDownItemAnother 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
objobjectThe object to compare with the current object.
Returns
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
Returns
operator >(DropDownItem?, DropDownItem?)
public static bool operator >(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)
Parameters
Returns
operator >=(DropDownItem?, DropDownItem?)
public static bool operator >=(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)
Parameters
Returns
operator !=(DropDownItem?, DropDownItem?)
public static bool operator !=(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)
Parameters
Returns
operator <(DropDownItem?, DropDownItem?)
public static bool operator <(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)
Parameters
Returns
operator <=(DropDownItem?, DropDownItem?)
public static bool operator <=(GroupedDropDownParameterEditor.DropDownItem? left, GroupedDropDownParameterEditor.DropDownItem? right)