Show / Hide Table of Contents

Class CreateModalModel.CreatePollViewModel

Inheritance
object
CreateModalModel.CreatePollViewModel
Namespace: Volo.CmsKit.Pro.Admin.Web.Pages.CmsKit.Polls
Assembly: Volo.CmsKit.Pro.Admin.Web.dll
Syntax
public class CreateModalModel.CreatePollViewModel : ExtensibleObject

Constructors

CreatePollViewModel()

Declaration
public CreatePollViewModel()

Properties

AllowMultipleVote

Declaration
public bool AllowMultipleVote { get; set; }
Property Value
Type Description
bool

Code

Declaration
[Required]
public string Code { get; set; }
Property Value
Type Description
string

EndDate

Declaration
public DateTime? EndDate { get; set; }
Property Value
Type Description
DateTime?

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
string

PollOptions

Declaration
public PollOptionDto[] PollOptions { get; set; }
Property Value
Type Description
PollOptionDto[]

Question

Declaration
[Required]
public string Question { get; set; }
Property Value
Type Description
string

ResultShowingEndDate

Declaration
public DateTime? ResultShowingEndDate { get; set; }
Property Value
Type Description
DateTime?

ShowHoursLeft

Declaration
public bool ShowHoursLeft { get; set; }
Property Value
Type Description
bool

ShowResultWithoutGivingVote

Declaration
public bool ShowResultWithoutGivingVote { get; set; }
Property Value
Type Description
bool

ShowVoteCount

Declaration
public bool ShowVoteCount { get; set; }
Property Value
Type Description
bool

StartDate

Declaration
[Required]
public DateTime StartDate { get; set; }
Property Value
Type Description
DateTime

Widget

Declaration
public string Widget { get; set; }
Property Value
Type Description
string
In this article
Back to top Powered by Volosoft