Exemplo n.º 1
0
 /// <include file='doc\AutomationExtenderManager.uex' path='docs/doc[@for="FilteredObjectWrapper.GetDefaultProperty"]/*' />
 /// <devdoc>
 ///     Retrieves the default property.
 /// </devdoc>
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(baseObject));
 }
Exemplo n.º 2
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(GetType()));
 }
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(this, true));
 }
 public PropertyDescriptor GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(this, true);
Exemplo n.º 5
0
        public virtual PropertyDescriptor GetDefaultProperty()
        {
            PropertyDescriptor pd = TypeDescriptor.GetDefaultProperty(this, true);

            return(pd);
        }
Exemplo n.º 6
0
 public virtual PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_componentPointer, true));
 }
Exemplo n.º 7
0
 public System.ComponentModel.PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(this, true));
 }
Exemplo n.º 8
0
        PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
        {
            PropertyDescriptor result = TypeDescriptor.GetDefaultProperty(component);

            return((result == null || hidden.Contains(result.Name)) ? null : result);
        }
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(elementViewModel, true));
 }
Exemplo n.º 10
0
 /// <include file='doc\AutomationExtenderManager.uex' path='docs/doc[@for="FilteredObjectWrapper.GetDefaultProperty"]/*' />
 /// <devdoc>
 ///     Retrieves the default property.
 /// </devdoc>
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(baseObject));
 }
Exemplo n.º 11
0
 System.ComponentModel.PropertyDescriptor System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(wrappee, true));
 }
Exemplo n.º 12
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_wrappedObject));
 }
        public void DataGridColumnStyle_DefaultProperty_Get_ReturnsExpected()
        {
            PropertyDescriptor property = TypeDescriptor.GetDefaultProperty(typeof(DataGridColumnStyle));

            Assert.Equal("HeaderText", property.Name);
        }
Exemplo n.º 14
0
 public System.ComponentModel.PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(targetControl));
 }
Exemplo n.º 15
0
 public static PropertyDescriptor GetDefaultProperty(ISerializableControl component)
 {
     return(TypeDescriptor.GetDefaultProperty(component, NO_CUSTOM_TYPE_DESC));
 }
Exemplo n.º 16
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(this, true);
Exemplo n.º 17
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(typeof(T)));
 }
Exemplo n.º 18
0
        public PropertyDescriptor GetDefaultProperty()
        {
            var pd = TypeDescriptor.GetDefaultProperty(this, true);

            return(pd);
        }
Exemplo n.º 19
0
 public object GetDefaultProperty(object totest)
 {
     return(TypeDescriptor.GetDefaultProperty(totest));
 }
Exemplo n.º 20
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(GetType()));
 }
Exemplo n.º 21
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(m_SelectedObject, true));
 }
 /// <summary>
 /// Returns the default property for this instance of Asset.
 /// </summary>
 /// <returns>A PropertyDescriptor that represents the default property for this object,
 /// or null if this object does not have properties.</returns>
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(m_asset, false));
 }
Exemplo n.º 23
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(Strategy, true));
 }
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_obj));
 }
Exemplo n.º 25
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(Struct));
 }
Exemplo n.º 26
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_sourceType));
 }
Exemplo n.º 27
0
 // return the default property item
 /// <include file='doc\PropertyTab.uex' path='docs/doc[@for="PropertyTab.GetDefaultProperty"]/*' />
 /// <devdoc>
 ///    <para>Gets the default property of the specified component.</para>
 /// </devdoc>
 public virtual PropertyDescriptor GetDefaultProperty(object component)
 {
     return(TypeDescriptor.GetDefaultProperty(component));
 }
Exemplo n.º 28
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(masterConfigurationNode));
 }
Exemplo n.º 29
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(this, true));
 }
Exemplo n.º 30
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(wrapObj);