コード例 #1
0
        protected override string GetHelpTextCore()
        {
            QueryHelpTextRoutedEventArgs args = new QueryHelpTextRoutedEventArgs(
                AutomationQueryEvents.QueryHelpTextForGroupEvent, m_uiGroupOwner);

            m_uiGroupOwner.DataGridContext.DataGridControl.RaiseEvent(args);

            string helpText = null;

            if (args.Handled)
            {
                helpText = args.HelpText;
            }

            return(helpText ?? string.Empty);
        }
コード例 #2
0
        protected override string GetHelpTextCore()
        {
            if (m_dataGridContext == null)
            {
                return(string.Empty);
            }

            QueryHelpTextRoutedEventArgs args = new QueryHelpTextRoutedEventArgs(
                AutomationQueryEvents.QueryHelpTextForDetailEvent, m_dataGridContext);

            m_dataGridControl.RaiseEvent(args);
            string helpText = null;

            if (args.Handled)
            {
                helpText = args.HelpText;
            }

            return(helpText ?? string.Empty);
        }
    protected override string GetHelpTextCore()
    {
      QueryHelpTextRoutedEventArgs args = new QueryHelpTextRoutedEventArgs(
        AutomationQueryEvents.QueryHelpTextForGroupEvent, m_uiGroupOwner );

      m_uiGroupOwner.DataGridContext.DataGridControl.RaiseEvent( args );

      string helpText = null;

      if( args.Handled )
        helpText = args.HelpText;

      return ( helpText ?? string.Empty );
    }
    protected override string GetHelpTextCore()
    {
      if( m_dataGridContext == null )
        return string.Empty;

      QueryHelpTextRoutedEventArgs args = new QueryHelpTextRoutedEventArgs(
        AutomationQueryEvents.QueryHelpTextForDetailEvent, m_dataGridContext );

      m_dataGridControl.RaiseEvent( args );
      string helpText = null;

      if( args.Handled )
        helpText = args.HelpText;

      return ( helpText ?? string.Empty );
    }