|
import System::Windows::DataFormats . class Intellisense. attr_reader :enabled . def initialize(list, textbox) @list, @textbox = list, textbox
|
|
... ContentStart, _richTextBox.Document.ContentEnd); using ( FileStream fs = new FileStream ( "C:\\500k.txt" , System.IO. FileMode .Open)) { t.Load(fs, System.Windows. DataFormats .Text)
|
|
DataObject data = new DataObject(System.Windows.DataFormats.Text.ToString(), "abcd" ); // prepare D&D DragSource.GiveFeedback += DragSource_GiveFeedback;
|
|
mText.Save(memory, System.Windows.DataFormats.Xaml); } #endregion #region ICommand Members public void Undo(
|
|
... box.SelectAll(); box.Paste(); box.SelectAll(); box.Copy(); return System.Windows.Clipboard.GetData(System.Windows.DataFormats.Xaml ...
|
|
IsDragging = true ; _dragHasLeftScope = false ; //Finally lets drag drop DataObject data = new DataObject (System.Windows. DataFormats .Text.ToString(), "abcd ...
|