Udostępnij za pośrednictwem


FeedbackPanel Class

Definition

Interaction logic for FeedbackPanel.xaml

public class FeedbackPanel : System.Windows.Controls.Control
type FeedbackPanel = class
    inherit Control
Public Class FeedbackPanel
Inherits Control
Inheritance
FeedbackPanel

Constructors

FeedbackPanel()

Fields

DownvoteCommandProperty
OptedOutProperty
OptOutCommandProperty
OptOutRequiresRestartProperty
QuestionProperty
TellUsMoreDislikedCommandHandledProperty
TellUsMoreDislikedCommandProperty
TellUsMoreLikedCommandHandledProperty
TellUsMoreLikedCommandProperty
UpvoteCommandProperty
UserFeedbackProperty
VoteParameterProperty

Properties

DownvoteCommand

Command to execute when thumbs down button is clicked

OptedOut

Whether or not the user has opted out from the current experience. If true, the feedback panel will be replaced by "Successfully opted out!" or "Successfully opted out! Restart to see the changes." if OptOutRequiresRestart is also true

OptOutCommand

Command to execute when user clicks on "opt-out". If null, "opt-out" link will not be visible

OptOutRequiresRestart

Whether opt-out requires restart or not. If true, "opt-out" will become "opt-out (restart required)" and after user clicks opt-out, "Successfully opted out!" will become "Successfully opted out! Restart to see the changes."

OptOutText

The string for the opt out button when restart is not required for opting out.

OptOutWithRestartText

The string for the opt out button when restart is required for opting out.

Question

The question for the user

TellUsMoreDislikedCommand

Command to execute when people clicks on "tell us more" after they clicks thumbs down If null, "tell us more" link will not be visible after user clicks thumbs down

TellUsMoreDislikedCommandHandled

Whether or not the TellUsMoreDislikedCommand has been handled. If true, the "Tell us more" link will not be visible when TellUsMoreDislikedCommand is not null and thumbs down was clicked.

TellUsMoreLikedCommand

Command to execute when people clicks on "tell us more" after they clicks thumbs up If null, "tell us more" link will not be visible after user clicks thumbs up

TellUsMoreLikedCommandHandled

Whether or not the TellUsMoreLikedCommand has been handled. If true, the "Tell us more" link will not be visible when TellUsMoreLikedCommand is not null and thumbs up was clicked.

UpvoteCommand

Command to execute when thumbs up button is clicked

UserFeedback

Whether or not the user has voted like

VoteParameter

The parameter for the UpvoteCommand and DownVoteCommand

Applies to