共用方式為


Calendar.CalendarEntryText 屬性

定義

取得或設定使用於 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”) 。

適用於

另請參閱