The MonoXPollModule type exposes the following members.

Constructors

  Name Description
Public method MonoXPollModule
Constructor.

Methods

  Name Description
Public method ApplyChanges
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).

Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance.

(Overrides BasePart..::..ApplyChanges()()()().)
Public method BindAnswers
Bind answers method is used to display the default vote template.
Protected method btnResults_Click
Results button click event handler.
Protected method btnShowVotePanel_Click
Protected method btnVote_Click
Vote button click event handler.
Protected method GetAnswerText
Fromats the text for each vote option.
Protected method GetColor
Retrieves the color for each of the bar in the graph.
Protected method GetWidth
Calculates the width of the bar for each vote option.
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Protected field btnResults
btnResults control.
Protected field btnShowVotePanel
btnShowVotePanel control.
Protected field btnVote
btnVote control.
Protected field lblQuestion
lblQuestion control.
Protected field lblTotal
lblTotal control.
Protected field pnlContainer
pnlContainer control.
Protected field pnlGraph
pnlGraph control.
Protected field pnlInput
pnlInput control.
Protected field rblAnswers
rblAnswers control.
Protected field rptGraph
rptGraph control.
Protected field totalVotes
Number of total votes.
Protected field up
up control.

Properties

  Name Description
Public property ExpirationDays
Number of days after which the vote cookie will expire.
Public property PollId
Id of the poll that is displayed in this module
Public property ResultsButtonText
Results button text.
Public property TotalVotesTemplateText
Total votes text template.
Public property VoteButtonText
Vote button text.

See Also