Home All Groups Group Topic Archive Search About

What does instantText mean in Edit method of DataGridColumnStyle

Author
23 Sep 2006 2:41 PM
Hamed
What does instantText mean in Edit method of DataGridColumnStyle?

Regards

Hamed

Author
23 Sep 2006 8:37 PM
Nithya
Hi Hamed
instantText in Edit method:

        protected internal virtual void Edit(
             CurrencyManager source,
             int rowNum,
             Rectangle bounds,
             bool readOnly,
             string instantText
       );

Parameters

source
          The CurrencyManager for the DataGridColumnStyle.
rowNum
           The row number in this column which is being edited.
bounds
           The Rectangle in which the control is to be sited.
readOnly
           A value indicating whether the column is a read-only. true if the
value is read-only; otherwise, false.
instantText
          The text to display in the control.

About instantText in MSDN link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridcolumnstyleclassedittopic3.asp

More about this in KB
        http://support.microsoft.com/?id=842290

--
HTH
Nithya
MCP,
Indian Software Solutions,
Trichy.


Show quoteHide quote
"Hamed" wrote:

> What does instantText mean in Edit method of DataGridColumnStyle?
>
> Regards
>
> Hamed
>
>
>
Author
24 Sep 2006 5:19 AM
Hamed
I have seen them. but there is no more description than just "The text to
display in the control. "

I have checked this parameter and it seems it is always null. Is there a
situation that the value of this parameter is not null?



Show quoteHide quote
"Nithya" <angelinnit***@hotmail.com.(donotspan)> wrote in message
news:93F30CBF-1C22-4135-91A3-F250D7CD29CA@microsoft.com...
> Hi Hamed
> instantText in Edit method:
>
>        protected internal virtual void Edit(
>             CurrencyManager source,
>             int rowNum,
>             Rectangle bounds,
>             bool readOnly,
>             string instantText
>       );
>
> Parameters
>
> source
>          The CurrencyManager for the DataGridColumnStyle.
> rowNum
>           The row number in this column which is being edited.
> bounds
>           The Rectangle in which the control is to be sited.
> readOnly
>           A value indicating whether the column is a read-only. true if
> the
> value is read-only; otherwise, false.
> instantText
>          The text to display in the control.
>
> About instantText in MSDN link:
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsdatagridcolumnstyleclassedittopic3.asp
>
> More about this in KB
>        http://support.microsoft.com/?id=842290
>
> --
> HTH
> Nithya
> MCP,
> Indian Software Solutions,
> Trichy.
>
>
> "Hamed" wrote:
>
>> What does instantText mean in Edit method of DataGridColumnStyle?
>>
>> Regards
>>
>> Hamed
>>
>>
>>