Ryan Turney

Ryan Turney

  • NA
  • 245
  • 208.9k

What is WPF's Equivalent

Mar 28 2009 2:27 PM

Hello everyone, what is WPF's equivalent code from the below Windows Forms code. It is type-casting the first control on the tabpage into a RichTextBox.

RichTextBox rtb = (RichTextBox)_tabs.SelectedTab.Controls[0];

Thank you! P.S. New lines seem to be broken on these forums... Everything is mashed together and hard to read, but not by choice.


Answers (1)