System.ComponentModel.ToolboxItemAttribute.IsDefaultAttribute C# (CSharp) Method

IsDefaultAttribute() public method

public IsDefaultAttribute ( ) : bool
return bool
        public override bool IsDefaultAttribute() {
            return this.Equals(Default);
        }
        

Usage Example

Example #1
0
        public void Ctor_Type(Type toolboxItemType)
        {
            var attribute = new ToolboxItemAttribute(toolboxItemType);

            Assert.Equal(toolboxItemType.AssemblyQualifiedName, attribute.ToolboxItemTypeName);
            Assert.Same(toolboxItemType, attribute.ToolboxItemType);
            Assert.False(attribute.IsDefaultAttribute());
        }
All Usage Examples Of System.ComponentModel.ToolboxItemAttribute::IsDefaultAttribute