IVsDifferenceLegendElementProvider.CreateLegendElement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 FrameworkElement ,它将显示在 "差异代码" 窗口的图例中。
public:
System::Windows::FrameworkElement ^ CreateLegendElement(Microsoft::VisualStudio::Editor::IVsDifferenceCodeWindow ^ codeWindow);
public System.Windows.FrameworkElement CreateLegendElement (Microsoft.VisualStudio.Editor.IVsDifferenceCodeWindow codeWindow);
abstract member CreateLegendElement : Microsoft.VisualStudio.Editor.IVsDifferenceCodeWindow -> System.Windows.FrameworkElement
Public Function CreateLegendElement (codeWindow As IVsDifferenceCodeWindow) As FrameworkElement
参数
- codeWindow
- IVsDifferenceCodeWindow
将在其中显示图例的代码窗口。
返回
FrameworkElement要显示或为 null 的。