ContentControl.OnContentStringFormatChanged(String, String) 方法

定義

發生於 ContentStringFormat 屬性變更時。

protected:
 virtual void OnContentStringFormatChanged(System::String ^ oldContentStringFormat, System::String ^ newContentStringFormat);
protected virtual void OnContentStringFormatChanged (string oldContentStringFormat, string newContentStringFormat);
abstract member OnContentStringFormatChanged : string * string -> unit
override this.OnContentStringFormatChanged : string * string -> unit
Protected Overridable Sub OnContentStringFormatChanged (oldContentStringFormat As String, newContentStringFormat As String)

參數

oldContentStringFormat
String

ContentStringFormat 的舊值。

newContentStringFormat
String

ContentStringFormat 的新值。

適用於