terminal/src/cascadia/TerminalApp/RichTextBoxControlHost.idl
Mike Griese 27c4b8df09 This is a hacky RichTextBoxHost in XAML
Just to prove it can be done this way
2019-07-18 12:31:14 -05:00

20 lines
696 B
Plaintext

// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
// Even though this is in the same directory, we're building from a child
// directory, so the midl compiler gets confused. TODO: This shouldn't need the
// "../". Maybe there's a build rule we can add (gross) or we can just live with
// it.
import "../IControlHost.idl";
namespace TerminalApp
{
// I can't tell you how important it is that the base class of your custom
// element is the UIElement that's at the root of the xaml file.
[default_interface] runtimeclass RichTextBoxControlHost : Windows.UI.Xaml.Controls.Grid, IControlHost
{
RichTextBoxControlHost();
};
}