Some questions about WizardAction

StatusIDPriorityType
Closed27723MinorQuestion
ProfileReply
Tin-KaiClient

Dear support team,

I have 2 questions about WizardAction:

- How can I set image (right top) for different steps? (normally Wizard shows image defined in WizardAction but in low resolution so icon is zoomed in a ugly way) I would like to set the icon manually. I believe I can do this in underlying WizardControl (Devexpress.XtraWizard.WizardControl), but how can I access the control in ViewController.

- How can I resize the wizard dialog? I already set "IsSizeable" property to "True" in WizardAction. But it shows no effect.

I attached a sample solution and a screenshot.

Thanks a lot for your help!

Best regards!
Kai

Attached files:

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Hello Tin-Kai,

Thanks for the tisket and thr sample.
>> - How can I resize the wizard dialog? I already set "IsSizeable" property to "True" in WizardAction. But it shows no effect.

You can try to use this controller for the problem resizing the wizard dialog:

Partial Public Class ResizeViewController
Inherits ViewController(Of DetailView)
Public Sub New()
InitializeComponent()
'TargetObjectType = GetType(SomeWizardObject)
End Sub
Protected Overrides Sub OnActivated()
MyBase.OnActivated()
End Sub
Protected Overrides Sub OnViewControlsCreated()
MyBase.OnViewControlsCreated()
'Make wizard's detail view resizeable.
If (Not (Frame) Is Nothing) Then
Dim template = CType(Frame.Template, IWindowTemplate)
If (Not (template) Is Nothing) Then
template.IsSizeable = True
End If
End If
End Sub
Protected Overrides Sub OnDeactivated()
MyBase.OnDeactivated()
End Sub
End Class

We hope you find this information helpful.
Best regards,
Sasha.

Tin-Kai

Hello Sasha!

Thanks a lot! the codes in OnViewControlsCreated event will help.

To other question: i realize that the underlying control is not Devexpress.XtraWizard.WizardControl.
I'll try to manipulate the underlying PictureBox Control from the frame.

Thanks.
Kai

× This ticket is closed.

Write US