Calendar.CalendarEntryText 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定使用於 CHTML 和 WML 裝置上的字串,以進入 Calendar 控制項。 這個 API 已經過時。 如需如何開發 ASP.NET 行動應用程式的資訊,請參閱 mobile Apps & Sites with ASP.NET。
public:
property System::String ^ CalendarEntryText { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string CalendarEntryText { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.CalendarEntryText : string with get, set
Public Property CalendarEntryText As String
屬性值
用於 CHTML 和 WML 裝置上的字串,以進入 Calendar。
- 屬性
範例
下列程式代碼範例示範如何使用 CalendarEntryText 屬性來設定向用戶顯示的文字。 此範例是概觀較大程式碼範例的 Calendar 一部分。
Calendar1.CalendarEntryText = "Your birthdate";
Calendar1.CalendarEntryText = "Your birthdate"
備註
當此屬性設定為 null
時,預設值為當地語系化字串 (例如“Calendar”) 。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應