Example #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));
 }
Example #2
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(GetType()));
 }
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(this, true));
 }
 public PropertyDescriptor GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(this, true);
Example #5
0
        public virtual PropertyDescriptor GetDefaultProperty()
        {
            PropertyDescriptor pd = TypeDescriptor.GetDefaultProperty(this, true);

            return(pd);
        }
Example #6
0
 public virtual PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_componentPointer, true));
 }
Example #7
0
 public System.ComponentModel.PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(this, true));
 }
Example #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));
 }
Example #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));
 }
Example #11
0
 System.ComponentModel.PropertyDescriptor System.ComponentModel.ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(wrappee, true));
 }
Example #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);
        }
Example #14
0
 public System.ComponentModel.PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(targetControl));
 }
Example #15
0
 public static PropertyDescriptor GetDefaultProperty(ISerializableControl component)
 {
     return(TypeDescriptor.GetDefaultProperty(component, NO_CUSTOM_TYPE_DESC));
 }
Example #16
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(this, true);
Example #17
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(typeof(T)));
 }
Example #18
0
        public PropertyDescriptor GetDefaultProperty()
        {
            var pd = TypeDescriptor.GetDefaultProperty(this, true);

            return(pd);
        }
Example #19
0
 public object GetDefaultProperty(object totest)
 {
     return(TypeDescriptor.GetDefaultProperty(totest));
 }
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(GetType()));
 }
Example #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));
 }
Example #23
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(Strategy, true));
 }
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_obj));
 }
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(Struct));
 }
Example #26
0
 public PropertyDescriptor GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(_sourceType));
 }
Example #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));
 }
Example #28
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(masterConfigurationNode));
 }
Example #29
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty()
 {
     return(TypeDescriptor.GetDefaultProperty(this, true));
 }
Example #30
0
 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(wrapObj);