vb System.Web.UI.Design.WebControls.HierarchicalDataBoundControlDesigner.PreFilterProperties类(方法)实例源码

下面列出了vb System.Web.UI.Design.WebControls.HierarchicalDataBoundControlDesigner.PreFilterProperties 类(方法)源码代码实例,从而了解它的用法。

作者:VB.NET开发    项目:System.Web.UI.Design.WebControl   
' Shadow the control properties with design-time properties.
Protected Overrides Sub PreFilterProperties( _
    ByVal properties As IDictionary)

    Dim namingContainer As String = "NamingContainer"

    ' Call the base method first.
    MyBase.PreFilterProperties(properties)

    ' Make the NamingContainery visible in the Properties grid.
    Dim selectProp As PropertyDescriptor = _
        CType(properties(namingContainer), PropertyDescriptor)
    properties(namingContainer) = _
        TypeDescriptor.CreateProperty(selectProp.ComponentType, _
            selectProp, BrowsableAttribute.Yes)
End Sub


问题


面经


文章

微信
公众号

扫码关注公众号