3
Coding4Fun 툴킷의 MessagePrompt 컨트롤을 사용하여 앱에 "평가 및 검토"대화 상자를 표시합니다.WP7 Coding4Fun 툴킷 Progamatically 닫기 MessagePrompt 컨트롤
기본 단추를 사용자 지정 단추로 바꾸고 기존 단추를 지우고 (틱과 십자 표시를 없애기 위해) 어떤 방법을 호출하여 프롬프트를 닫을지를 결정할 수 없습니다.
이 내가 사용하고있는 코드입니다, 이드 취소 버튼
var messagePrompt = new MessagePrompt
{
Title = "Rate and Review",
IsAppBarVisible = false,
Body = new TextBlock
{
Text = "PLS REVIEW MY APP K THNX",
TextWrapping = TextWrapping.Wrap
}
};
var rateButton = new Button() { Content = "Rate and Review" };
rateButton.Click += (sender, e) =>
{
var m = new MarketplaceDetailTask
{
ContentIdentifier = PhoneState.AppID,
ContentType = MarketplaceContentType.Applications
};
m.Show();
};
var cancelButton = new Button() { Content = "Dismiss" };
cancelButton.Click += (sender, e) =>
{
//todo close messagePrompt here
};
messagePrompt.ActionPopUpButtons.Clear();
messagePrompt.ActionPopUpButtons.Add(rateButton);
messagePrompt.ActionPopUpButtons.Add(cancelButton);
messagePrompt.Show();
작품은 비록 쿼리 문자열 PARAM이 아닌 아이디어와 같은 페이지로 이동됩니다 –