Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to create a ButtonEdit descendant that can show a multi-line text like MemoEdit

$
0
0

This example shows how to create and use a ButtonEdit descendant that will support multi-line text like MemoEdit.


This descendant's repository items have three additional properties:

RepositoryItemMultiLineButtonEdit.AcceptsReturn - gets or sets a value specifying whether return characters can be inserted into text.
RepositoryItemMultiLineButtonEdit.AcceptsTab - gets or sets a value specifying whether a user can insert tab characters into text.
RepositoryItemMultiLineButtonEdit.ScrollBars - gets or sets a value indicating which scrollbars are displayed.

See also:
Custom Editors.

How to create a ButtonEdit descendant that can show a multi-line text like MemoEdit

Question Comments

Added By: Vernon Robinson at: 8/21/2015 4:12:08 AM    

I am trying to follow this example.  However, in my application, after I add the MultiLineButtonEdit Code and Bitmap to my project, the following happens:

1. The ellipsis do not show on the control in the designer like the example does.
2. The graphic does not show in the RepositoryItem toolbox dropdown when selecting the columnedit.

Other than those two cosmetic issues, the button does function.  Any idea on what I can do to fix these two minor issues?

Added By: Vernon Robinson at: 8/21/2015 4:13:03 AM    

When leaving a comment, How can I attach a document to illustrate a point?

Added By: Uriah (DevExpress Support) at: 8/21/2015 5:36:55 AM    

Hello Vernon,

To process your recent post more efficiently, I created a separate ticket on your behalf: T280958: E5150 - How to fix two minor design-time issues. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>