Пример #1
0
        public void MetafileEditor_GetEditStyle_Invoke_ReturnsModal(ITypeDescriptorContext context)
        {
            var editor = new MetafileEditor();

            Assert.Equal(UITypeEditorEditStyle.Modal, editor.GetEditStyle(context));
        }
Пример #2
0
        public void MetafileEditor_GetPaintValueSupported_Invoke_ReturnsTrue(ITypeDescriptorContext context)
        {
            var editor = new MetafileEditor();

            Assert.True(editor.GetPaintValueSupported(context));
        }
Пример #3
0
        public void MetafileEditor_Ctor_Default()
        {
            var editor = new MetafileEditor();

            Assert.False(editor.IsDropDownResizable);
        }