顯示具有 Text Editor 標籤的文章。 顯示所有文章
顯示具有 Text Editor 標籤的文章。 顯示所有文章

2009年10月28日

Silverlight TextBox 斷行處理

下列的範例,可以將 TextBlock.Text 所取得的字串, 拆解成字串陣列。

string text = TheTextBox.Text;
text = text.Replace(Environment.NewLine, "\r");
string[] texts = text.Split(new char[] { '\r'  });

Deploying Vue & .NET with Google OAuth on GCP Cloud Run

Deploying Vue & .NET with Google OAuth on GCP Cloud Run Deploying Vue & .NET with Google OAuth on GCP Cloud Run...