The MonoXPollModule type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MonoXPollModule |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ApplyChanges |
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).
(Overrides BasePart..::..ApplyChanges()()()().)Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance. |
|
BindAnswers |
Bind answers method is used to display the default vote template.
|
|
btnResults_Click |
Results button click event handler.
|
|
btnShowVotePanel_Click | ||
btnVote_Click |
Vote button click event handler.
|
|
GetAnswerText |
Fromats the text for each vote option.
|
|
GetColor |
Retrieves the color for each of the bar in the graph.
|
|
GetWidth |
Calculates the width of the bar for each vote option.
|
|
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) |
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
btnResults |
btnResults control.
|
|
btnShowVotePanel |
btnShowVotePanel control.
|
|
btnVote |
btnVote control.
|
|
lblQuestion |
lblQuestion control.
|
|
lblTotal |
lblTotal control.
|
|
pnlContainer |
pnlContainer control.
|
|
pnlGraph |
pnlGraph control.
|
|
pnlInput |
pnlInput control.
|
|
rblAnswers |
rblAnswers control.
|
|
rptGraph |
rptGraph control.
|
|
totalVotes |
Number of total votes.
|
|
up |
up control.
|
Properties
Name | Description | |
---|---|---|
ExpirationDays |
Number of days after which the vote cookie will expire.
|
|
PollId |
Id of the poll that is displayed in this module
|
|
ResultsButtonText |
Results button text.
|
|
TotalVotesTemplateText |
Total votes text template.
|
|
VoteButtonText |
Vote button text.
|