Class PriceSelector
public class PriceSelector : UserControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IFilterResolutionService, IAttributeAccessor, INamingContainer, IUserControlDesignerAccessor
- Inheritance
-
PriceSelector
- Implements
- Inherited Members
Constructors
PriceSelector()
public PriceSelector()
Fields
CartButton
CartButton control.
protected Button CartButton
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
CheckoutButton
CheckoutButton control.
protected Button CheckoutButton
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
CounterPanel
CounterPanel control.
protected HtmlGenericControl CounterPanel
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
ProductPriceSelectorComboBox
ProductPriceSelectorComboBox control.
protected ProductPriceSelectorComboBox ProductPriceSelectorComboBox
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
RemainingCount
RemainingCount control.
protected HtmlGenericControl RemainingCount
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
SelectedCount
SelectedCount control.
protected HtmlGenericControl SelectedCount
Field Value
Remarks
Auto-generated field. To modify move field declaration from designer file to code-behind file.
Properties
Mode
public PriceSelectionModel.PriceSelectionMode Mode { get; }
Property Value
SelectedProductIdentifier
public Guid? SelectedProductIdentifier { get; }
Property Value
- Guid?
Methods
ApplyCartUi(int, int?, bool, bool)
public void ApplyCartUi(int selectedQty, int? remainingQty, bool canViewCart, bool canCheckout)
Parameters
OnInit(EventArgs)
protected override void OnInit(EventArgs e)
Parameters
OnLoad(EventArgs)
protected override void OnLoad(EventArgs e)
Parameters
OnPreRender(EventArgs)
protected override void OnPreRender(EventArgs e)
Parameters
ProductPriceSelectorComboBox_SelectedIndexChanged(object, EventArgs)
protected void ProductPriceSelectorComboBox_SelectedIndexChanged(object sender, EventArgs e)
Parameters
Events
ClickCart
public event EventHandler ClickCart
Event Type
ClickCheckout
public event EventHandler ClickCheckout
Event Type
SelectionChanged
public event EventHandler<PriceSelectionModel.PriceSelectionChangedEventArgs> SelectionChanged